forked from nsupdate-info/nsupdate.info
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
79 lines (73 loc) · 2.26 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
"""
setup for nsupdate package
"""
import sys
PY2 = sys.version_info[0] == 2
from setuptools import setup, find_packages
from nsupdate import version
with open('README.rst') as f:
readme_content = f.read()
if PY2:
install_requires = ['dnspython', ]
else:
install_requires = ['dnspython3', ]
setup(
name='nsupdate',
version=str(version),
url='http://github.com/nsupdate-info/nsupdate.info/',
license='BSD',
author='The nsupdate.info Team (see AUTHORS)',
author_email='info@nsupdate.info',
description='A dynamic DNS update service',
long_description=readme_content,
keywords="dyndns ddns dynamic dns django",
packages=find_packages(exclude=['_tests', ]),
package_data={
'nsupdate': [
'templates/*.html',
'templates/includes/*.html',
'static/*.html',
'static/*.png',
'static/css/*.css',
'locale/*/LC_MESSAGES/*',
],
'nsupdate.accounts': [
'templates/accounts/*.html',
'templates/registration/*.html',
'templates/registration/*.txt',
],
'nsupdate.login': [
'templates/*.html',
],
'nsupdate.main': [
'templates/main/*.html',
'templates/main/includes/*.html',
],
},
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=install_requires + [
'netaddr',
'django>=1.8.1, <1.9',
'django-bootstrap-form',
'django-registration-redux<1.2', # 1.2 breaks password reset and maybe other stuff
'django-extensions',
'python-social-auth',
'requests', # for our ddns_client
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: Name Service (DNS)',
],
)