From ac9859d9556414b6ee8209004634dc0552a0a555 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 11 Dec 2021 18:37:24 +0100 Subject: [PATCH] setup: add setproctitle to full install for gunicorn Also update the readme section regarding the full install --- README.md | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f584308..94099f5 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,9 @@ From git pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full] ``` -The full install includes mysql, redis and diskcache (possible cache backends). -Otherwise, only in-memory and sqlite3 caches are available. The full install -also includes gunicorn and gevent (for more efficient HTTP handling). +The full install includes all the cache backends. Otherwise, only in-memory and +sqlite3 caches are available. The full install also includes gunicorn (for more +efficient HTTP handling). 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 diff --git a/setup.py b/setup.py index d9e8eae..5490aaf 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( packages = [package_name], install_requires = ['lxml', 'bs4', 'python-dateutil', 'chardet'], extras_require = { - 'full': ['pymysql', 'redis', 'diskcache', 'gunicorn'], + 'full': ['pymysql', 'redis', 'diskcache', 'gunicorn', 'setproctitle'], 'dev': ['pylint'] }, python_requires = '>=2.7',