c232204244
* always-cythonize.patch - Add patch to locate zopfli headers properly: * zopfli-headers.patch - Update to 2020.5.30: * pythhon3 only * add support for more codecs OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imagecodecs?expand=0&rev=9
14 lines
442 B
Diff
14 lines
442 B
Diff
Index: imagecodecs-2020.5.30/setup.py
|
|
===================================================================
|
|
--- imagecodecs-2020.5.30.orig/setup.py
|
|
+++ imagecodecs-2020.5.30/setup.py
|
|
@@ -71,7 +71,7 @@ if 'sdist' in sys.argv:
|
|
|
|
|
|
OPTIONS = {
|
|
- 'cythonize': sys.version_info >= (3, 10),
|
|
+ 'cythonize': True,
|
|
'include_dirs': ['imagecodecs'],
|
|
'library_dirs': [],
|
|
'libraries': ['m'] if sys.platform != 'win32' else [],
|