diff --git a/doc/admin/installation/manual_smallscale.rst b/doc/admin/installation/manual_smallscale.rst index c4331fac0d..03443c64d2 100644 --- a/doc/admin/installation/manual_smallscale.rst +++ b/doc/admin/installation/manual_smallscale.rst @@ -142,7 +142,7 @@ If you're running MySQL, also install the client library:: (venv)$ pip3 install mysqlclient -Note that you need Python 3.6 or newer. You can find out your Python version using ``python -V``. +Note that you need Python 3.7 or newer. You can find out your Python version using ``python -V``. We also need to create a data directory:: @@ -259,14 +259,14 @@ The following snippet is an example on how to configure a nginx proxy for pretix } location /static/ { - alias /var/pretix/venv/lib/python3.7/site-packages/pretix/static.dist/; + alias /var/pretix/venv/lib/python3.10/site-packages/pretix/static.dist/; access_log off; expires 365d; add_header Cache-Control "public"; } } -.. note:: Remember to replace the ``python3.7`` in the ``/static/`` path in the config +.. note:: Remember to replace the ``python3.10`` in the ``/static/`` path in the config above with your python version. We recommend reading about setting `strong encryption settings`_ for your web server. diff --git a/src/setup.py b/src/setup.py index fa1802002a..ea8ba39c7a 100644 --- a/src/setup.py +++ b/src/setup.py @@ -150,9 +150,10 @@ setup( 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Environment :: Web Environment', 'License :: OSI Approved :: GNU Affero General Public License v3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Framework :: Django :: 3.2' ],