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