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