Show More
@@ -61,6 +61,10 b" setup(name='appenlight'," | |||||
61 | zip_safe=False, |
|
61 | zip_safe=False, | |
62 | test_suite='appenlight', |
|
62 | test_suite='appenlight', | |
63 | install_requires=requires, |
|
63 | install_requires=requires, | |
|
64 | extras_require={ | |||
|
65 | "dev": ["coverage", "pytest", "pyramid", "tox", "mock", "webtest"], | |||
|
66 | "lint": ["black"], | |||
|
67 | }, | |||
64 | entry_points={ |
|
68 | entry_points={ | |
65 | 'paste.app_factory': [ |
|
69 | 'paste.app_factory': [ | |
66 | 'main = appenlight:main' |
|
70 | 'main = appenlight:main' |
@@ -19,6 +19,7 b' import logging' | |||||
19 | import pyelasticsearch |
|
19 | import pyelasticsearch | |
20 | import redis |
|
20 | import redis | |
21 | import os |
|
21 | import os | |
|
22 | import pkg_resources | |||
22 | from pkg_resources import iter_entry_points |
|
23 | from pkg_resources import iter_entry_points | |
23 |
|
24 | |||
24 | import appenlight.lib.jinja2_filters as jinja2_filters |
|
25 | import appenlight.lib.jinja2_filters as jinja2_filters | |
@@ -46,6 +47,7 b' from appenlight.security import groupfinder, AuthTokenAuthenticationPolicy' | |||||
46 | __license__ = 'Apache 2.0' |
|
47 | __license__ = 'Apache 2.0' | |
47 | __author__ = 'RhodeCode GmbH' |
|
48 | __author__ = 'RhodeCode GmbH' | |
48 | __url__ = 'http://rhodecode.com' |
|
49 | __url__ = 'http://rhodecode.com' | |
|
50 | __version__ = pkg_resources.get_distribution("appenlight").parsed_version | |||
49 |
|
51 | |||
50 | json_renderer = JSON(serializer=json.dumps, indent=4) |
|
52 | json_renderer = JSON(serializer=json.dumps, indent=4) | |
51 |
|
53 |
General Comments 0
You need to be logged in to leave comments.
Login now