From: Ant Zucaro Date: Tue, 17 Oct 2017 23:51:24 +0000 (-0400) Subject: Reinstate entry_points. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6c5303df7e21868ae3bce0f894108b976eed79b8;p=xonotic%2Fxonstat.git Reinstate entry_points. --- diff --git a/setup.py b/setup.py index 6dbde2b..0a100f1 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ requires = [ 'pyramid', 'SQLAlchemy', 'transaction', - 'repoze.tm2>=1.0b1', # default_commit_veto + 'repoze.tm2>=1.0b1', 'zope.sqlalchemy', 'WebError', 'sqlahelper', @@ -33,6 +33,10 @@ setup( packages=find_packages(), include_package_data=True, zip_safe=False, - install_requires=requires + install_requires=requires, + entry_points={ + 'paste.app_factory': [ + 'main = xonstat:main', + ], + }, ) -