Merge remote-tracking branch 'origin/master'

This commit is contained in:
GaMeNu 2023-10-24 00:55:00 +03:00
commit 7919c15c21
3 changed files with 24 additions and 0 deletions

View File

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

View File

@ -0,0 +1,5 @@
aiohttp==3.9.0b0
discord.py
mysql-connector-python
requests
python-dotenv

4
requirements.txt Normal file
View File

@ -0,0 +1,4 @@
discord.py
mysql-connector-python
requests
python-dotenv