mirror of
https://github.com/ciromattia/kcc
synced 2026-07-04 12:05:34 +00:00
72e1546c2c
* fix: enable unrar on all distros, not just Fedora unrar was gated behind distro.id() == 'fedora', so on Debian/Ubuntu the binary was installed but never invoked. Try unrar unconditionally after 7z, with an optional rarfile Python fallback. Fixes CBR extraction on non-Fedora Linux distributions. * fix: gate unrar on Linux and drop unused distro dependency Debian/Ubuntu's '7zip' package ships the upstream 7zz binary, which excludes RAR support for licensing reasons, so 7z fails to read .cbr (RAR) archives. unrar was installed but only invoked when distro.id() == 'fedora', so on Debian it was never tried and extraction failed. Per maintainer feedback, gate unrar on platform.system() == 'Linux' (not needed on Windows or macOS) and drop the rarfile PyPI fallback to avoid a new dependency. Since the code no longer imports distro, also remove it from the requirements files and setup.py.
11 lines
174 B
Plaintext
11 lines
174 B
Plaintext
PySide6==6.1.3
|
|
Pillow>=9
|
|
psutil>=7.2.2
|
|
requests>=2.32.4
|
|
python-slugify>=8.0.4
|
|
packaging>=26.2
|
|
mozjpeg-lossless-optimization>=1.2.0
|
|
natsort>=8.4.0
|
|
numpy==1.23.5
|
|
PyMuPDF>=1.16
|