-
Notifications
You must be signed in to change notification settings - Fork 108
/
setup.py
99 lines (93 loc) · 2.87 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
import os
import re
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.txt')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
requires = [
'pyramid',
'pyramid_chameleon',
'pyramid_debugtoolbar',
'pyramid_tm',
'SQLAlchemy',
'transaction',
'zope.sqlalchemy',
'waitress',
'pytz',
'dogpile.cache',
'pyramid_dogpile_cache',
'Flask>=0.10.1',
'flask-admin',
'psycopg2',
'pymemcache',
'mock',
'alembic',
'raven',
'jsl',
'jsonschema',
'pyparsing',
'python-crontab',
'croniter',
'zope.interface',
'zope.sqlalchemy',
'argon2'
]
version = ''
with open('gengine/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
setup(name='gamification-engine',
version=version,
description='The Gamification-Engine (gengine) provides an API for integrating any kinds of gamification features.',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License"
],
author='Marcel Sander, Jens Janiuk, Matthias Feldotto',
author_email='[email protected]',
license='MIT',
url='https://www.gamification-software.com',
keywords='web wsgi bfg pylons pyramid gamification',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='gengine',
install_requires=requires,
extras_require={
"auth": [
'argon2'
],
"pushes": [
'tapns3',
'python-gcm',
],
"testing": [
'testing.postgresql',
'testing.redis',
'names'
]
},
entry_points="""\
[paste.app_factory]
main = gengine:main
[console_scripts]
initialize_gengine_db = gengine.maintenance.scripts.initializedb:main
generate_gengine_erd = gengine.maintenance.scripts.generate_erd:main
generate_gengine_revision = gengine.maintenance.scripts.generate_revision:main
gengine_push_messages = gengine.maintenance.scripts.push_messages:main
gengine_scheduler_beat = gengine.maintenance.scripts.scheduler_beat:main
gengine_scheduler_worker = gengine.maintenance.scripts.scheduler_worker:main
[redgalaxy.plugins]
gengine = gengine:redgalaxy
""",
)