1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-reedsolo/cythonize.patch
2023-02-04 17:01:35 +01:00

15 lines
541 B
Diff

Don't use hacks, just cythonize.
--- a/setup.py
+++ b/setup.py
@@ -22,9 +22,7 @@ except ImportError:
import os, sys
-if '--cythonize' in sys.argv:
- # Remove the special argument, otherwise setuptools will raise an exception
- sys.argv.remove('--cythonize')
+if True:
try:
# If Cython is installed, transpile the optimized Cython module to C and compile as a .pyd to be distributed
from Cython.Build import cythonize, build_ext # this acts as a check whether Cython is installed, otherwise this will fail