setup: add setproctitle to full install for gunicorn
continuous-integration/drone/push Build is failing Details

Also update the readme section regarding the full install
master
pictuga 2021-12-11 18:37:24 +01:00
parent 580565da77
commit ac9859d955
2 changed files with 4 additions and 4 deletions

View File

@ -80,9 +80,9 @@ From git
pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full] pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full]
``` ```
The full install includes mysql, redis and diskcache (possible cache backends). The full install includes all the cache backends. Otherwise, only in-memory and
Otherwise, only in-memory and sqlite3 caches are available. The full install sqlite3 caches are available. The full install also includes gunicorn (for more
also includes gunicorn and gevent (for more efficient HTTP handling). efficient HTTP handling).
The dependency `lxml` is fairly long to install (especially on Raspberry Pi, as The dependency `lxml` is fairly long to install (especially on Raspberry Pi, as
C code needs to be compiled). If possible on your distribution, try installing C code needs to be compiled). If possible on your distribution, try installing

View File

@ -22,7 +22,7 @@ setup(
packages = [package_name], packages = [package_name],
install_requires = ['lxml', 'bs4', 'python-dateutil', 'chardet'], install_requires = ['lxml', 'bs4', 'python-dateutil', 'chardet'],
extras_require = { extras_require = {
'full': ['pymysql', 'redis', 'diskcache', 'gunicorn'], 'full': ['pymysql', 'redis', 'diskcache', 'gunicorn', 'setproctitle'],
'dev': ['pylint'] 'dev': ['pylint']
}, },
python_requires = '>=2.7', python_requires = '>=2.7',