From 6c5303df7e21868ae3bce0f894108b976eed79b8 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Tue, 17 Oct 2017 19:51:24 -0400 Subject: [PATCH] Reinstate entry_points. --- setup.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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', + ], + }, ) - -- 2.39.2