Add requirements.txt with pip freeze to pin PyQt6-Qt6 to 6.4.0

This commit is contained in:
unknown 2022-12-10 04:20:52 +01:00
parent 7ce0e11751
commit 567f40b47b
3 changed files with 10 additions and 1 deletions

View file

@ -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)

5
requirements-qt5.txt Normal file
View file

@ -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

4
requirements.txt Normal file
View file

@ -0,0 +1,4 @@
certifi==2022.12.7
PyQt6==6.4.0
PyQt6-Qt6==6.4.0
PyQt6-sip==13.4.0