Simplify the setup.py file.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 26 Aug 2017 14:37:46 +0000 (10:37 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 26 Aug 2017 14:37:46 +0000 (10:37 -0400)
setup.py

index a3573d2..6dbde2b 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,5 @@
-import os
-import sys
-
 from setuptools import setup, find_packages
 
-here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, 'README.md')).read()
-CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
-
 requires = [
     'pyramid',
     'SQLAlchemy',
@@ -20,34 +13,26 @@ requires = [
     'pyramid_beaker',
     'pyramid_mako',
     'waitress',
-    ]
-
-if sys.version_info[:3] < (2,5,0):
-    requires.append('pysqlite')
+]
 
-setup(name='XonStat',
-      version='0.0',
-      description='XonStat',
-      long_description=README + '\n\n' +  CHANGES,
-      classifiers=[
+setup(
+    name='XonStat',
+    version='1.0',
+    description='XonStat',
+    long_description='XonStat: The statistics web application for Xonotic',
+    classifiers=[
         "Programming Language :: Python",
-        "Framework :: Pylons",
+        "Framework :: Pyramid",
         "Topic :: Internet :: WWW/HTTP",
         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
-        ],
-      author='',
-      author_email='',
-      url='',
-      keywords='web wsgi bfg pylons pyramid',
-      packages=find_packages(),
-      include_package_data=True,
-      zip_safe=False,
-      test_suite='xonstat',
-      install_requires = requires,
-      entry_points = """\
-      [paste.app_factory]
-      main = xonstat:main
-      """,
-      paster_plugins=['pyramid'],
-      )
+    ],
+    author='Ant Zucaro',
+    author_email='azucaro@gmail.com',
+    url='http://stats.xonotic.org',
+    keywords='web wsgi pylons pyramid',
+    packages=find_packages(),
+    include_package_data=True,
+    zip_safe=False,
+    install_requires=requires
+)