mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-08 07:28:31 +00:00
setup.py: add some comments to the cythonize calls
This commit is contained in:
parent
0b8c9b236e
commit
d32ff32d3a
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
@ -236,7 +236,10 @@ def members_appended(*ds):
|
|||
# compile .pyx extensions to .c in parallel, does not work on windows
|
||||
cython_opts['nthreads'] = cpu_threads + 1
|
||||
|
||||
cythonize([posix_ext, linux_ext, freebsd_ext, darwin_ext, windows_ext], **cython_opts)
|
||||
# generate C code from Cython for ALL supported platforms, so we have them in the sdist.
|
||||
# the sdist does not require Cython at install time, so we need all as C.
|
||||
cythonize([posix_ext, linux_ext, syncfilerange_ext, freebsd_ext, darwin_ext, windows_ext], **cython_opts)
|
||||
# generate C code from Cython for THIS platform (and for all platform-independent Cython parts).
|
||||
ext_modules = cythonize(ext_modules, **cython_opts)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue