python-imagecodecs/always-cythonize.patch
Tomáš Chvátal c232204244 - Add patch to enforce cythonization:
* 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
2020-08-28 09:00:57 +00:00

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 [],