-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (57 loc) · 1.57 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'coderwall',
'knowledge>=0.3',
'pyramid',
'pyramid_mako',
'SQLAlchemy',
'transaction',
'pygithub',
'pyramid_tm',
'pyramid_debugtoolbar',
'pyramid_openid',
'python-dateutil',
'pytz',
'requests',
'waitress',
'zope.sqlalchemy',
'velruse',
]
if os.environ.get("OPENSHIFT_APP_NAME"):
requires.append("gevent")
requires.append('mysql-python == 1.2.3')
setup(name='charsheet',
version='1.0',
description='charsheet',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='David Gay',
author_email='[email protected]',
url='http://github.com/FOSSRIT/charsheet',
keywords='web wsgi bfg pylons pyramid foss charsheet',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
tests_require=[
'zope.interface',
'nose',
'coverage',
],
test_suite='charsheet',
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = charsheet:main
[console_scripts]
initialize_charsheet_db = charsheet.scripts.initializedb:main
""",
)