From 61d6972e22c0bb02d9dcb65499b1be37b602a563 Mon Sep 17 00:00:00 2001 From: kiryl <12550714+kiryl85@users.noreply.github.com> Date: Wed, 3 Dec 2025 06:13:26 +0100 Subject: [PATCH] Sync setup install_requires with requirements.txt (#1176) * remove duplicated PyMuPDF entry and change packages order for easier comparison with requirements.txt * update packages versions to be synced to each other (requirements.txt vs install_requires in setuptools.setup() * add missing pyinstaller package which is required to build exe/app * clarify minimums * fix typo * remove pyinstaller Remove pyinstaller from the requirements. --------- Co-authored-by: Alex Xu --- requirements.txt | 2 +- setup.py | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 89abfdc..8edccd8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ PySide6<6.10 Pillow>=11.3.0 psutil>=5.9.5 requests>=2.31.0 -python-slugify>=1.2.1 +python-slugify>=1.2.1,<9.0.0 raven>=6.0.0 packaging>=23.2 mozjpeg-lossless-optimization>=1.2.0 diff --git a/setup.py b/setup.py index c1c9297..d818459 100644 --- a/setup.py +++ b/setup.py @@ -148,16 +148,15 @@ setuptools.setup( }, packages=['kindlecomicconverter'], install_requires=[ - 'pyside6>=6.0.0', + 'PySide6>=6.0.0', 'Pillow>=9.3.0', - 'PyMuPDF>=1.18.0', 'psutil>=5.9.5', + 'requests>=2.31.0', 'python-slugify>=1.2.1,<9.0.0', 'raven>=6.0.0', - 'requests>=2.31.0', - 'mozjpeg-lossless-optimization>=1.1.2', + 'mozjpeg-lossless-optimization>=1.2.0', 'natsort>=8.4.0', - 'distro', + 'distro>=1.8.0', 'numpy>=1.22.4', 'PyMuPDF>=1.16.1', ],