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