From ecf4fa8e942645e821aad32fc5574262eb2bf3c1 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Sat, 14 Aug 2021 23:30:21 -0700 Subject: [PATCH] version 1.20210814.1 --- py4web/__init__.py | 2 +- requirements.txt | 11 +++++++---- setup.py | 20 ++++---------------- 3 files changed, 12 insertions(+), 21 deletions(-) diff --git a/py4web/__init__.py b/py4web/__init__.py index 4a892f706..58d218354 100644 --- a/py4web/__init__.py +++ b/py4web/__init__.py @@ -2,7 +2,7 @@ __author__ = "Massimo Di Pierro " __license__ = "BSDv3" -__version__ = "1.20210807.1" +__version__ = "1.20210814.1" def _maybe_gevent(): diff --git a/requirements.txt b/requirements.txt index 02aff4ad1..4c1daf76b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,9 @@ +wheel bottle >= 0.12 click colorama cryptography tornado -gunicorn -gevent -gevent-websocket renoir >= 1.4.0 requests threadsafevariable >= 1.1 @@ -13,8 +11,13 @@ pyjwt >= 2.0.1 pluralize >= 0.1.7 yatl >= 20210326.1 pydal >= 20210626.3 -python-memcached # used for testing or for optionally actually accessing memcache watchgod >= 0.6 +# optional modules: +# gunicorn +# gevent +# gevent-websocket +# python-memcached # used for testing or for optionally actually accessing memcache + ### for documentation only ### # use also docs/requirements.txt diff --git a/setup.py b/setup.py index ec7e8cab5..6cc4873b8 100644 --- a/setup.py +++ b/setup.py @@ -23,22 +23,10 @@ def get_version(): description="Experimental py4web (a better web2py)", packages=["py4web", "py4web.utils", "py4web.utils.auth_plugins"], package_data={"py4web": ["assets/*"],}, - install_requires=[ - "bottle>=0.12", - "click", - "colorama", - "cryptography", - "tornado", - "gevent", - "gevent-websocket", - "requests", - "threadsafevariable>=1.1", - "pyjwt>=2.0.1", - "pluralize>=0.1.6", - "yatl>=20210326.1", - "pydal>=20200910.1", - "watchgod>=0.6", - ], + install_requires=[line for line in [ + line.split("#")[0].strip() + for line in open("requirements.txt").readlines() + ] if line], entry_points={"console_scripts": ["py4web=py4web.core:cli"],}, zip_safe=False, platforms="any",