diff --git a/backend/setup.py b/backend/setup.py index abbefad..80cfdfd 100644 --- a/backend/setup.py +++ b/backend/setup.py @@ -61,6 +61,10 @@ setup(name='appenlight', zip_safe=False, test_suite='appenlight', install_requires=requires, + extras_require={ + "dev": ["coverage", "pytest", "pyramid", "tox", "mock", "webtest"], + "lint": ["black"], + }, entry_points={ 'paste.app_factory': [ 'main = appenlight:main' diff --git a/backend/src/appenlight/VERSION b/backend/src/appenlight/VERSION index 9084fa2..524cb55 100644 --- a/backend/src/appenlight/VERSION +++ b/backend/src/appenlight/VERSION @@ -1 +1 @@ -1.1.0 +1.1.1 diff --git a/backend/src/appenlight/__init__.py b/backend/src/appenlight/__init__.py index 7d6f224..62d32a3 100644 --- a/backend/src/appenlight/__init__.py +++ b/backend/src/appenlight/__init__.py @@ -19,6 +19,7 @@ import logging import pyelasticsearch import redis import os +import pkg_resources from pkg_resources import iter_entry_points import appenlight.lib.jinja2_filters as jinja2_filters @@ -46,6 +47,7 @@ from appenlight.security import groupfinder, AuthTokenAuthenticationPolicy __license__ = 'Apache 2.0' __author__ = 'RhodeCode GmbH' __url__ = 'http://rhodecode.com' +__version__ = pkg_resources.get_distribution("appenlight").parsed_version json_renderer = JSON(serializer=json.dumps, indent=4)