]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
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 6dbde2be58b500786ed63c621e4b015eaeae7352..0a100f10d228c129bd89f4b1538d5c339c26025d 100644 (file)
--- 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',
+        ],
+    },
 )
-