-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (43 loc) · 1.7 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
#!/usr/bin/env python
import os
from setuptools import setup
PACKAGE = 'emsaiu'
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# The VERSION file is created by travis-ci, based on the tag name
version_path = os.path.join(PACKAGE, 'VERSION')
VERSION = open(os.path.join(os.path.dirname(__file__), version_path)).read()
VERSION = VERSION.replace("\n", "")
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='Django-SWS-EMSAIU',
version=VERSION,
packages=[PACKAGE],
include_package_data=True,
install_requires = [
'AuthZ-Group',
'Django>=1.11.19,<2.0',
'django-compressor',
'Django-SupportTools<3.0 ; python_version < "3.0"',
'Django-SupportTools ; python_version >= "3.0"',
'UW-EMS-Client',
'UW-RestClients-GWS<2.0 ; python_version < "3.0"',
'UW-RestClients-GWS ; python_version >= "3.0"',
'UW-RestClients-SWS<2.0 ; python_version < "3.0"',
'UW-RestClients-SWS ; python_version >= "3.0"',
],
license='Apache License, Version 2.0',
description='Django app to aid in the import of the academic schedule from the UW Student Web Service',
long_description=README,
url='https://github.com/uw-it-cte/django-sws-emsaiu',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
],
)