Reinstate entry_points.
authorAnt Zucaro <azucaro@gmail.com>
Tue, 17 Oct 2017 23:51:24 +0000 (19:51 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Tue, 17 Oct 2017 23:51:24 +0000 (19:51 -0400)
setup.py

index 6dbde2b..0a100f1 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ requires = [
     'pyramid',
     'SQLAlchemy',
     'transaction',
     'pyramid',
     'SQLAlchemy',
     'transaction',
-    'repoze.tm2>=1.0b1', # default_commit_veto
+    'repoze.tm2>=1.0b1',
     'zope.sqlalchemy',
     'WebError',
     'sqlahelper',
     'zope.sqlalchemy',
     'WebError',
     'sqlahelper',
@@ -33,6 +33,10 @@ setup(
     packages=find_packages(),
     include_package_data=True,
     zip_safe=False,
     packages=find_packages(),
     include_package_data=True,
     zip_safe=False,
-    install_requires=requires
+    install_requires=requires,
+    entry_points={
+        'paste.app_factory': [
+            'main = xonstat:main',
+        ],
+    },
 )
 )
-