forked from allegro/django-powerdns-dnssec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
86 lines (79 loc) · 2.62 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
#!/usr/bin/env python
import json
import os
try:
from setuptools import setup, find_packages
except ImportError:
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
with open(
os.path.join(os.path.dirname(__file__), 'README.rst'),
encoding='utf-8'
) as f:
long_description = f.read()
with open('version.json') as f:
version = '.'.join(str(part) for part in json.load(f))
setup(
name='django-powerdns-dnssec',
version=version,
url='https://github.com/allegro/django-powerdns-dnssec',
license='BSD',
description='PowerDNS administration app for Django',
long_description=long_description,
author='Peter Nixon, Łukasz Langa, pylabs Team',
author_email='[email protected]',
packages=[p for p in find_packages() if not p.startswith('example')],
include_package_data=True,
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Telecommunications Industry',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: Name Service (DNS)',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=[
'Django>=1.8.13',
'django-autocomplete-light>=3.2.10',
'django-extensions>=1.5.5',
'django-nose>=1.4',
'dj.choices>=0.10.0',
'django-threadlocals>=0.8',
],
extras_require={
'docs': [
'docutils>=0.12',
],
'dnsaas': [
'Django>=1.8.13,<1.9',
'django-extensions==1.5.5',
# 3.3.3 includes bug, https://github.com/rtfd/readthedocs.org/issues/2101
'djangorestframework==3.3.2',
'django-rest-swagger==0.3.8',
'django-filter==0.15.2',
'mysqlclient==1.3.7',
'raven==5.20.0'
],
# https://github.com/pypa/pip/issues/1197#issuecomment-228939212
'tests': [
'django-nose>=1.4',
'nose-cov>=1.6',
'factory_boy>=2.5.2',
]
},
tests_require=[
'django-powerdns-dnssec[dnsaas]',
'django-powerdns-dnssec[tests]',
],
zip_safe=False, # if only because of the readme file
)