]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - setup.py
e167a957d16f1538eb15c3587a1a0badba637091
[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     ]
18
19 if sys.version_info[:3] < (2,5,0):
20     requires.append('pysqlite')
21
22 setup(name='XonStat',
23       version='0.0',
24       description='XonStat',
25       long_description=README + '\n\n' +  CHANGES,
26       classifiers=[
27         "Programming Language :: Python",
28         "Framework :: Pylons",
29         "Topic :: Internet :: WWW/HTTP",
30         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
31         ],
32       author='',
33       author_email='',
34       url='',
35       keywords='web wsgi bfg pylons pyramid',
36       packages=find_packages(),
37       include_package_data=True,
38       zip_safe=False,
39       test_suite='xonstat',
40       install_requires = requires,
41       entry_points = """\
42       [paste.app_factory]
43       main = xonstat:main
44       """,
45       paster_plugins=['pyramid'],
46       )
47