Compare commits

...

2 Commits

Author SHA1 Message Date
Ferdinand Thiessen fb50ed05be deps: Require at lease python 3.9, fixes #22
continuous-integration/woodpecker the build was successful Details
2021-12-26 15:44:04 +01:00
Ferdinand Thiessen 54a789b772 fix(docs): PIP 21.0+ is required, some minor improvements 2021-12-26 15:42:31 +01:00
3 changed files with 15 additions and 8 deletions

View File

@ -17,5 +17,3 @@ matrix:
PYTHON:
- 3.10
- 3.9
- 3.8
- 3.7

View File

@ -7,20 +7,29 @@ This is the backend of the Flaschengeist.
### Requirements
- `mysql` or `mariadb`
- maybe `libmariadb` development files[1]
- python 3.7+
- python 3.9+
- pip 21.0+
[1] By default Flaschengeist uses mysql as database backend, if you are on Windows Flaschengeist uses `PyMySQL`, but on
*[1] By default Flaschengeist uses mysql as database backend, if you are on Windows Flaschengeist uses `PyMySQL`, but on
Linux / Mac the faster `mysqlclient` is used, if it is not already installed installing from pypi requires the
development files for `libmariadb` to be present on your system.
development files for `libmariadb` to be present on your system.*
### Install python files
pip3 install --user .
It is recommended to upgrade pip to the latest version before installing:
python -m pip install --upgrade pip
Default installation with *mariadb*/*mysql* support:
pip3 install --user ".[mysql]"
or with ldap support
pip3 install --user ".[ldap]"
or if you want to also run the tests:
pip3 install --user ".[ldap,test]"
pip3 install --user ".[ldap,tests]"
You will also need a MySQL driver, recommended drivers are
- `mysqlclient`

View File

@ -19,7 +19,7 @@ classifiers =
[options]
include_package_data = True
python_requires = >=3.7
python_requires = >=3.9
packages = find:
install_requires =
Flask >= 2.0