Removed depreciated dependencies from README
This commit is contained in:
parent
b2856467f3
commit
1635d66e71
2 changed files with 15 additions and 15 deletions
16
README.md
16
README.md
|
@ -48,12 +48,19 @@ Guides for python quirks and themes are also in the [docs] folder. If you want t
|
||||||
## RUNNING FROM SOURCE
|
## RUNNING FROM SOURCE
|
||||||
Pesterchum is a Python script. This means that as long as you have Python installed you can run it without requiring a build/executable. This is useful if there's no compatible build for your system.
|
Pesterchum is a Python script. This means that as long as you have Python installed you can run it without requiring a build/executable. This is useful if there's no compatible build for your system.
|
||||||
|
|
||||||
1. Verify you have Python 3 and pip installed by running ``python --version`` and ``python -m pip --version`` on your system's console/terminal. If not, [install Python](https://www.python.org/downloads/), make sure to check to include pip and "Add to path" in the installer. If you have Python 3 but not pip, you could use [get-pip](https://github.com/pypa/get-pip).
|
### REQUIREMENTS
|
||||||
|
- [Python 3]
|
||||||
|
- [PyQt5]
|
||||||
|
- [pygame] (Only required for audio, Pesterchum will probably still run without it.)
|
||||||
|
|
||||||
|
### WALKTHROUGH
|
||||||
|
|
||||||
|
1. Verify you have [Python 3] and [pip] installed by running ``python --version`` and ``python -m pip --version`` on your system's console/terminal. If not, [install Python](https://www.python.org/downloads/), make sure to check to include pip and "Add to path" in the installer. If you have Python 3 but not pip, you could use [get-pip](https://github.com/pypa/get-pip).
|
||||||
- On Windows, depending on your installation, Python 3 might be available with the ``py -3`` command instead of ``python``.
|
- On Windows, depending on your installation, Python 3 might be available with the ``py -3`` command instead of ``python``.
|
||||||
- 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``.
|
- 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 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/).
|
- 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 pygame PyQt5 feedparser python-magic requests``
|
2. Install Pesterchum's dependencies with pip, run: ``python -m pip install PyQt5 pygame``
|
||||||
- If this fails, try running ``python -m pip install -U pip setuptools wheel`` to update pip, setuptools & wheel and then trying again.
|
- If this fails, try running ``python -m pip install -U pip setuptools wheel`` to update pip, setuptools & wheel and then trying again.
|
||||||
3. Download [this repository's source](https://github.com/Dpeta/pesterchum-alt-servers/archive/refs/heads/py3_pyqt5.zip), or choose the "Source Code" option on any release, and extract the archive to a folder of your choice.
|
3. Download [this repository's source](https://github.com/Dpeta/pesterchum-alt-servers/archive/refs/heads/py3_pyqt5.zip), or choose the "Source Code" option on any release, and extract the archive to a folder of your choice.
|
||||||
4. Navigate your terminal to the folder you chose with ``cd /folder/you/chose``.
|
4. Navigate your terminal to the folder you chose with ``cd /folder/you/chose``.
|
||||||
|
@ -61,6 +68,11 @@ Pesterchum is a Python script. This means that as long as you have Python instal
|
||||||
- Windows's cd command requires the /d flag to navigate to a different drive. (``cd D:\pesterchum-alt-servers-py3_pyqt5``)
|
- Windows's cd command requires the /d flag to navigate to a different drive. (``cd D:\pesterchum-alt-servers-py3_pyqt5``)
|
||||||
5. Run Pesterchum by running either ``pesterchum.py`` or ``python pesterchum.py``.
|
5. Run Pesterchum by running either ``pesterchum.py`` or ``python pesterchum.py``.
|
||||||
|
|
||||||
|
[Python 3]: https://www.python.org/downloads/
|
||||||
|
[pip]: https://pypi.org/project/pip/
|
||||||
|
[PyQt5]: https://pypi.org/project/PyQt5/
|
||||||
|
[pygame]: https://pypi.org/project/pygame/
|
||||||
|
|
||||||
## FREEZE / BUILD
|
## FREEZE / BUILD
|
||||||
Here's a quick guide on how to freeze Pesterchum, (that is, packaging it with python as an executable). :3
|
Here's a quick guide on how to freeze Pesterchum, (that is, packaging it with python as an executable). :3
|
||||||
|
|
||||||
|
|
14
setup.py
14
setup.py
|
@ -34,19 +34,7 @@ includefiles = ["quirks",
|
||||||
"Pesterchum.png",
|
"Pesterchum.png",
|
||||||
"logging.ini.example"]
|
"logging.ini.example"]
|
||||||
build_exe_options = {
|
build_exe_options = {
|
||||||
## "includes": ["PyQt5.QtCore",
|
## "includes": [],
|
||||||
## "PyQt5.QtGui",
|
|
||||||
## "PyQt5.QtWidgets",
|
|
||||||
## "pygame",
|
|
||||||
## "feedparser",
|
|
||||||
## "magic",
|
|
||||||
## "ostools",
|
|
||||||
## "requests",
|
|
||||||
## "urllib",
|
|
||||||
## "pytwmn",
|
|
||||||
## "re",
|
|
||||||
## "oyoyo",
|
|
||||||
## "ssl"],
|
|
||||||
"excludes": ['collections.sys',
|
"excludes": ['collections.sys',
|
||||||
'collections._sre',
|
'collections._sre',
|
||||||
'collections._json',
|
'collections._json',
|
||||||
|
|
Loading…
Reference in a new issue