2022-10-10 09:26:06 +02:00
|
|
|
Index: imagecodecs-2022.9.26/setup.py
|
2021-02-02 01:09:38 +01:00
|
|
|
===================================================================
|
2022-10-10 09:26:06 +02:00
|
|
|
--- imagecodecs-2022.9.26.orig/setup.py
|
|
|
|
+++ imagecodecs-2022.9.26/setup.py
|
|
|
|
@@ -94,7 +94,7 @@ def ext(**kwargs):
|
|
|
|
extra_compile_args=[],
|
|
|
|
extra_link_args=[],
|
|
|
|
cython_compile_time_env={},
|
|
|
|
- cythonize=False,
|
|
|
|
+ cythonize=True,
|
|
|
|
)
|
|
|
|
d.update(kwargs)
|
|
|
|
return d
|
|
|
|
@@ -114,13 +114,13 @@ OPTIONS = {
|
|
|
|
'extra_compile_args': [],
|
|
|
|
'extra_link_args': [],
|
|
|
|
'cython_compile_time_env': {},
|
|
|
|
- 'cythonize': False, # sys.version_info >= (3, 11)
|
|
|
|
+ 'cythonize': True, # sys.version_info >= (3, 11)
|
|
|
|
}
|
2020-08-28 11:00:57 +02:00
|
|
|
|
2022-10-10 09:26:06 +02:00
|
|
|
EXTENSIONS = {
|
|
|
|
'shared': ext(
|
|
|
|
cython_compile_time_env={'IS_PYPY': 'PyPy' in sys.version},
|
|
|
|
- cythonize='PyPy' in sys.version,
|
|
|
|
+ cythonize=True, #'PyPy' in sys.version,
|
|
|
|
),
|
|
|
|
'imcd': ext(sources=['imagecodecs/imcd.c']),
|
|
|
|
'aec': ext(libraries=['aec']),
|