mirror of
https://github.com/ciromattia/kcc
synced 2026-10-05 17:12:32 +00:00
temporarily remove mozjpeg
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -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':
|
||||||
|
|||||||
Reference in New Issue
Block a user