From 567f40b47be5cb077a4730b5bfc3fbd3352ef6f5 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 10 Dec 2022 04:20:52 +0100 Subject: [PATCH] Add requirements.txt with pip freeze to pin PyQt6-Qt6 to 6.4.0 --- README.md | 2 +- requirements-qt5.txt | 5 +++++ requirements.txt | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 requirements-qt5.txt create mode 100644 requirements.txt diff --git a/README.md b/README.md index ed002fb..6e12a1f 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ Pesterchum is a Python script. This means that as long as you have Python instal - Some platforms, mostly Linux and macOS, might require you to run ``python3`` instead of ``python``. Some old installations still have Python 2 available under ``python``. - On Linux it's better to install Python & pip via your package manager. - On macOS it's also possible to install (a more recent version of) Python via [Brew](https://brew.sh/). -2. Install Pesterchum's dependencies with pip, run: ``python -m pip install PyQt6 pygame`` +2. Install Pesterchum's dependencies with pip, run: ``python -m pip install -r requirements.txt`` - If this fails, try running ``python -m pip install -U pip setuptools wheel`` to update pip, setuptools & wheel and then trying again. - Alternatively, many linux distros also have packages for pyqt and pygame. - Debian: [python3-pyqt6](https://packages.debian.org/testing/python/python3-pyqt6), [python3-pygame](https://packages.debian.org/testing/python/python3-pygame) diff --git a/requirements-qt5.txt b/requirements-qt5.txt new file mode 100644 index 0000000..6b7a39d --- /dev/null +++ b/requirements-qt5.txt @@ -0,0 +1,5 @@ +certifi==2022.12.7 +pygame==2.1.2 +PyQt5==5.15.7 +PyQt5-Qt5==5.15.2 +PyQt5-sip==12.11.0 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..523ca69 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +certifi==2022.12.7 +PyQt6==6.4.0 +PyQt6-Qt6==6.4.0 +PyQt6-sip==13.4.0 \ No newline at end of file