mirror of
https://github.com/GaMeNu/HFCNotificator.git
synced 2024-11-16 15:24:51 +02:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
7919c15c21
15
README.md
15
README.md
@ -39,6 +39,8 @@ List all registered locations
|
||||
## Self-hosting
|
||||
### Requirements
|
||||
#### Required PyPI packages (run each with `pip install`)
|
||||
**Note:** On Windows you will have to write `python -m pip` instead of `pip` at the beginning of pip install commands
|
||||
|
||||
**Note:** as of 2023-10-23, discord.py seems to not install properly for Python 3.11 and above.
|
||||
The fix we've found is to first install the beta version of package `aiohttp` separately (`aiohttp==3.9.0b0`).
|
||||
```
|
||||
@ -47,6 +49,19 @@ mysql-connector-python
|
||||
requests
|
||||
python-dotenv
|
||||
```
|
||||
|
||||
You can also use the requirements files (`pip install -r`):
|
||||
|
||||
Python 3.10 and below:
|
||||
```
|
||||
requirements.txt
|
||||
```
|
||||
|
||||
Python 3.11 and above:
|
||||
```
|
||||
requirements-new-python.txt
|
||||
```
|
||||
|
||||
#### Other requirements
|
||||
MySQL Server: https://dev.mysql.com/downloads/mysql/
|
||||
|
||||
|
5
requirements-new-python.txt
Normal file
5
requirements-new-python.txt
Normal file
@ -0,0 +1,5 @@
|
||||
aiohttp==3.9.0b0
|
||||
discord.py
|
||||
mysql-connector-python
|
||||
requests
|
||||
python-dotenv
|
4
requirements.txt
Normal file
4
requirements.txt
Normal file
@ -0,0 +1,4 @@
|
||||
discord.py
|
||||
mysql-connector-python
|
||||
requests
|
||||
python-dotenv
|
Loading…
Reference in New Issue
Block a user