forked from ucsb-cs/submit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (58 loc) · 1.97 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
"""Submit setup.py."""
import os
import re
from setuptools import setup, find_packages
PACKAGE_NAME = 'submit'
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, 'README.md')) as fp:
README = fp.read()
with open(os.path.join(HERE, PACKAGE_NAME, '__init__.py')) as fp:
VERSION = re.search("__version__ = '([^']+)'", fp.read()).group(1)
requires = [
'alembic>=0.6.3',
'amqp_worker>=0.2',
'diff-match-patch==20120106',
'numpy>=1.8.0',
'python-ldap>=2.4.14',
'pastescript>=1.7.5',
'pika>=0.9.6',
'pyramid>=1.5.2',
'pyramid_addons>=0.20',
'pyramid_chameleon>=0.1',
'pyramid_exclog>=0.7',
'pyramid_layout>=0.8',
'pyramid_mailer>=0.10',
'pyramid_tm>=0.5',
'python-daemon>=1.5.5',
'python-dateutil>=2.1',
'sqla_mixins>=0.6',
'sqlalchemy>=0.7.8',
'zope.sqlalchemy>=0.7.1',
'PyYAML']
setup(name=PACKAGE_NAME,
author='Bryce Boe',
author_email='bboe@cs.ucsb.edu',
classifiers=["Programming Language :: Python",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"],
description=('submit is a submission web service designed for '
'programming assignments'),
entry_points="""\
[paste.app_factory]
main = {package}:main
[console_scripts]
worker_verification = {package}.workers.verification:main
worker_proxy = {package}.workers.proxy:main
""".format(package=PACKAGE_NAME),
extras_require={'dev': ['flake8', 'pyramid_debugtoolbar', 'waitress'],
'prod': ['psycopg2', 'uwsgi>=1.2.4']},
include_package_data=True,
install_requires=requires,
keywords='web pyramid pylons',
license='Simplified BSD License',
long_description=README,
packages=find_packages(),
url='https://github.com/ucsb-cs/submit',
version=VERSION,
zip_safe=False)