temporarily remove mozjpeg

This commit is contained in:
Alex Xu
2026-09-23 17:25:24 -07:00
parent b5a3752e1b
commit d431713d73
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ psutil>=7.2.2
requests>=2.34.2 requests>=2.34.2
python-slugify>=8.0.4,<9.0.0 python-slugify>=8.0.4,<9.0.0
packaging>=26.2 packaging>=26.2
mozjpeg-lossless-optimization>=1.2.0 #mozjpeg-lossless-optimization>=1.2.0
natsort>=8.4.0 natsort>=8.4.0
numpy>=1.22.4 numpy>=1.22.4
PyMuPDF>=1.18.0 PyMuPDF>=1.18.0
+2 -1
View File
@@ -36,6 +36,8 @@ class BuildBinaryCommand(setuptools.Command):
# noinspection PyShadowingNames # noinspection PyShadowingNames
def run(self): def run(self):
print('run')
print(platform.machine())
VERSION = __version__ VERSION = __version__
if sys.platform == 'darwin': if sys.platform == 'darwin':
os.system('pyinstaller -y kcc-macos.spec') os.system('pyinstaller -y kcc-macos.spec')
@@ -47,7 +49,6 @@ class BuildBinaryCommand(setuptools.Command):
os.system(f'appdmg kcc.json dist/kcc_macos_{platform.processor()}_{VERSION}.dmg') os.system(f'appdmg kcc.json dist/kcc_macos_{platform.processor()}_{VERSION}.dmg')
sys.exit(0) sys.exit(0)
elif sys.platform == 'win32': elif sys.platform == 'win32':
print(platform.processor())
if os.getenv('WINDOWS_7'): if os.getenv('WINDOWS_7'):
os.system('pyinstaller --hidden-import=_cffi_backend -y -F -i icons\\comic2ebook.ico -n kcc_win7_legacy_' + VERSION + ' -w --noupx kcc.py') os.system('pyinstaller --hidden-import=_cffi_backend -y -F -i icons\\comic2ebook.ico -n kcc_win7_legacy_' + VERSION + ' -w --noupx kcc.py')
elif platform.machine() == 'arm64': elif platform.machine() == 'arm64':