21 lines
915 B
Diff
21 lines
915 B
Diff
diff -Naur imagecodecs-2020.5.30_orig/setup.py imagecodecs-2020.5.30/setup.py
|
|
--- imagecodecs-2020.5.30_orig/setup.py 2020-05-31 15:06:11.000000000 +0200
|
|
+++ imagecodecs-2020.5.30/setup.py 2020-10-09 15:57:46.464535100 +0200
|
|
@@ -156,11 +156,11 @@
|
|
if 'arch' in platform.platform():
|
|
del EXTENSIONS['zopfli'] # zopfli/zopfli.h does not exist
|
|
|
|
- if sys.platform == 'win32':
|
|
- EXTENSIONS['bz2']['libraries'] = ['libbz2']
|
|
- else:
|
|
- EXTENSIONS['jpeg2k']['include_dirs'] = ['/usr/include/openjpeg-2.3']
|
|
- EXTENSIONS['jpegxr']['include_dirs'] = ['/usr/include/jxrlib']
|
|
+ # if sys.platform == 'win32':
|
|
+ # EXTENSIONS['bz2']['libraries'] = ['libbz2']
|
|
+ # else
|
|
+ EXTENSIONS['jpeg2k']['include_dirs'] = [sys.prefix + '/include/openjpeg-2.3']
|
|
+ EXTENSIONS['jpegxr']['include_dirs'] = [sys.prefix + '/include/jxrlib']
|
|
|
|
|
|
def customize_build_cg(EXTENSIONS, OPTIONS):
|