nsupdate.info/setup.py

83 lines
2.4 KiB
Python
Raw Normal View History

2013-09-29 15:59:16 +02:00
"""
setup for nsupdate package
"""
import sys
PY2 = sys.version_info[0] == 2
from setuptools import setup, find_packages
2013-09-28 09:16:17 +02:00
from nsupdate import version
with open('README.rst') as f:
2013-09-28 09:16:17 +02:00
readme_content = f.read()
if PY2:
install_requires = ['dnspython', ]
else:
install_requires = ['dnspython3', ]
2013-09-28 09:16:17 +02:00
setup(
name='nsupdate',
version=str(version),
url='http://github.com/nsupdate-info/nsupdate.info/',
2013-09-28 10:43:49 +02:00
license='BSD',
2013-09-28 09:16:17 +02:00
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={
2013-10-17 23:58:44 +02:00
'nsupdate': [
'templates/*.html',
'templates/includes/*.html',
2013-10-17 23:58:44 +02:00
'static/*.html',
'static/*.png',
'static/css/*.css',
'locale/*/LC_MESSAGES/*',
2013-10-17 23:58:44 +02:00
],
'nsupdate.accounts': [
'templates/accounts/*.html',
'templates/registration/*.html',
'templates/registration/*.txt',
2013-10-17 23:58:44 +02:00
],
'nsupdate.login': [
'templates/*.html',
],
2013-10-17 23:58:44 +02:00
'nsupdate.main': [
'templates/main/*.html',
'templates/main/includes/*.html',
2013-10-17 23:58:44 +02:00
],
},
2013-09-28 09:16:17 +02:00
include_package_data=True,
zip_safe=False,
platforms='any',
2013-12-25 00:42:51 +01:00
install_requires=install_requires + [
'netaddr',
2014-07-17 15:13:41 +02:00
'django >=1.6, <1.7', # 1.7 is not tested yet
2013-09-28 15:06:34 +02:00
'south',
'django-bootstrap-form',
'django-registration',
'django-extensions',
'python-social-auth',
'requests<2.4.0', # for our ddns_client
# 2.4.0 has a bug, does not reraise ProtocolError as ConnectionError
2013-09-28 09:16:17 +02:00
],
classifiers=[
'Development Status :: 5 - Production/Stable',
2013-09-28 09:16:17 +02:00
'Environment :: Web Environment',
'Framework :: Django',
2013-09-28 10:43:49 +02:00
'License :: OSI Approved :: BSD License',
2013-09-28 09:16:17 +02:00
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
2013-09-28 09:16:17 +02:00
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
2014-08-27 17:57:33 +02:00
'Programming Language :: Python :: 3.4',
2013-09-28 09:16:17 +02:00
'Topic :: Internet :: Name Service (DNS)',
],
)