blob: d8867c65541fcac860d9c7730104cc4a7dcc7a06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
From d02152619bbd4976563dd67da1fefcf6203597a5 Mon Sep 17 00:00:00 2001
From: Butui Hu <hot123tea123@gmail.com>
Date: Mon, 4 Mar 2024 11:20:53 +0800
Subject: [PATCH] fix extension deps
---
setup.py | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/setup.py b/setup.py
index e527a75..3ea18db 100644
--- a/setup.py
+++ b/setup.py
@@ -233,24 +233,19 @@ def customize_build_default(EXTENSIONS, OPTIONS):
import platform
del EXTENSIONS['apng'] # apng patch not commonly available
- del EXTENSIONS['avif'] # libavif library not commonly available
- del EXTENSIONS['blosc2'] # c-blosc2 library not commonly available
# del EXTENSIONS['heif'] # LGPL/GPL
del EXTENSIONS['jetraw'] # commercial
- del EXTENSIONS['lerc'] # LERC library not commonly available
del EXTENSIONS['lz4f'] # requires static linking
- del EXTENSIONS['lzfse'] # lzfse not commonly available
del EXTENSIONS['lzham'] # lzham not commonly available
del EXTENSIONS['lzo'] # lzokay not commonly available
del EXTENSIONS['mozjpeg'] # Win32 only
del EXTENSIONS['sperr'] # sperr not commonly available
- del EXTENSIONS['zlibng'] # zlib-ng library not commonly available
- if 'arch' not in platform.platform():
- del EXTENSIONS['jpegls'] # CharLS 2.1 library not commonly available
- del EXTENSIONS['jpegxl'] # jpeg-xl library not commonly available
- del EXTENSIONS['brunsli'] # Brunsli library not commonly available
- del EXTENSIONS['zfp'] # ZFP library not commonly available
+ # if 'arch' not in platform.platform():
+ # del EXTENSIONS['jpegls'] # CharLS 2.1 library not commonly available
+ # del EXTENSIONS['jpegxl'] # jpeg-xl library not commonly available
+ # del EXTENSIONS['brunsli'] # Brunsli library not commonly available
+ # del EXTENSIONS['zfp'] # ZFP library not commonly available
if sys.platform == 'win32':
EXTENSIONS['bz2']['libraries'] = ['libbz2']
--
2.44.0
|