]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - setup.py
Minor improvements to the badges generator:
[xonotic/xonstat.git] / setup.py
1 import os
2 import sys
3
4 from setuptools import setup, find_packages
5
6 here = os.path.abspath(os.path.dirname(__file__))
7 README = open(os.path.join(here, 'README.txt')).read()
8 CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
9
10 requires = [
11     'pyramid',
12     'SQLAlchemy',
13     'transaction',
14     'repoze.tm2>=1.0b1', # default_commit_veto
15     'zope.sqlalchemy',
16     'WebError',
17     'pyramid-jinja2',
18     'sqlahelper',
19     'webhelpers',
20     'psycopg2',
21     ]
22
23 if sys.version_info[:3] < (2,5,0):
24     requires.append('pysqlite')
25
26 setup(name='XonStat',
27       version='0.0',
28       description='XonStat',
29       long_description=README + '\n\n' +  CHANGES,
30       classifiers=[
31         "Programming Language :: Python",
32         "Framework :: Pylons",
33         "Topic :: Internet :: WWW/HTTP",
34         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
35         ],
36       author='',
37       author_email='',
38       url='',
39       keywords='web wsgi bfg pylons pyramid',
40       packages=find_packages(),
41       include_package_data=True,
42       zip_safe=False,
43       test_suite='xonstat',
44       install_requires = requires,
45       entry_points = """\
46       [paste.app_factory]
47       main = xonstat:main
48       """,
49       paster_plugins=['pyramid'],
50       )
51