This repository has been archived by the owner on Jan 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
77 lines (68 loc) · 1.9 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
import sys
from setuptools import find_packages, setup
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
# Base dependencies
install_requires = [
'certifi>=2017.7.27.1',
'django-local-settings>=1.0b7',
'pytz>=2017.2',
'raven>=6.1.0',
]
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
install_requires.append('enum34')
else:
django_version = '1.11'
# Dependencies that are used in multiple places
deps = {
'coverage': 'coverage>=4.4.1',
'djangorestframework': 'djangorestframework>=3.6.3',
'ldap3': 'ldap3>=2.3',
}
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-arcutils',
author='PSU - OIT - WDT',
author_email='[email protected]',
description='Common utilities used in WDT Django projects',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={
'ldap': [
deps['ldap3'],
],
'dev': [
deps['coverage'],
'django>={django_version},<{django_version}.999'.format_map(locals()),
deps['djangorestframework'],
'flake8',
deps['ldap3'],
'psu.oit.arc.tasks',
'tox>=2.7.0',
],
'tox': [
deps['coverage'],
deps['djangorestframework'],
'flake8',
deps['ldap3'],
'psu.oit.arc.tasks',
]
},
entry_points="""
[console_scripts]
arcutils = arcutils.__main__:main
""",
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)