From d431713d730ba77052dfb826112c106a3f5b41e9 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Wed, 23 Sep 2026 17:25:24 -0700 Subject: [PATCH] temporarily remove mozjpeg --- requirements.txt | 2 +- setup.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index e7c867f2..3b1ba304 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ psutil>=7.2.2 requests>=2.34.2 python-slugify>=8.0.4,<9.0.0 packaging>=26.2 -mozjpeg-lossless-optimization>=1.2.0 +#mozjpeg-lossless-optimization>=1.2.0 natsort>=8.4.0 numpy>=1.22.4 PyMuPDF>=1.18.0 diff --git a/setup.py b/setup.py index b722882c..4fcb9354 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,8 @@ class BuildBinaryCommand(setuptools.Command): # noinspection PyShadowingNames def run(self): + print('run') + print(platform.machine()) VERSION = __version__ if sys.platform == 'darwin': 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') sys.exit(0) elif sys.platform == 'win32': - print(platform.processor()) 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') elif platform.machine() == 'arm64':