2013-09-29 15:59:16 +02:00
|
|
|
"""
|
|
|
|
setup for nsupdate package
|
|
|
|
"""
|
|
|
|
|
2013-09-28 18:49:09 +02:00
|
|
|
from setuptools import setup, find_packages
|
2013-09-28 09:16:17 +02:00
|
|
|
|
2013-11-09 21:45:30 +01:00
|
|
|
from nsupdate import version
|
|
|
|
|
2013-09-28 18:49:09 +02:00
|
|
|
with open('README.rst') as f:
|
2013-09-28 09:16:17 +02:00
|
|
|
readme_content = f.read()
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='nsupdate',
|
2013-11-09 21:45:30 +01:00
|
|
|
version=str(version),
|
2013-10-03 00:43:33 +02:00
|
|
|
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,
|
2013-09-28 18:49:09 +02:00
|
|
|
keywords="dyndns ddns dynamic dns django",
|
|
|
|
packages=find_packages(exclude=['_tests', ]),
|
|
|
|
package_data={
|
2013-10-17 23:58:44 +02:00
|
|
|
'nsupdate': [
|
2013-11-09 20:00:57 +01:00
|
|
|
'templates/*.html',
|
|
|
|
'templates/includes/*.html',
|
2013-10-17 23:58:44 +02:00
|
|
|
'static/*.html',
|
2013-11-09 20:00:57 +01:00
|
|
|
'static/*.png',
|
|
|
|
'static/css/*.css',
|
2013-10-17 23:58:44 +02:00
|
|
|
],
|
|
|
|
'nsupdate.accounts': [
|
|
|
|
'templates/accounts/*.html',
|
|
|
|
'templates/registration/*.html',
|
2013-11-09 20:00:57 +01:00
|
|
|
'templates/registration/*.txt',
|
2013-10-17 23:58:44 +02:00
|
|
|
],
|
|
|
|
'nsupdate.main': [
|
|
|
|
'templates/main/*.html',
|
2013-11-09 20:00:57 +01:00
|
|
|
'templates/main/includes/*.html',
|
2013-10-17 23:58:44 +02:00
|
|
|
],
|
2013-09-28 18:49:09 +02:00
|
|
|
},
|
2013-09-28 09:16:17 +02:00
|
|
|
include_package_data=True,
|
|
|
|
zip_safe=False,
|
|
|
|
platforms='any',
|
|
|
|
install_requires=[
|
2013-12-13 02:40:39 +01:00
|
|
|
'django >=1.5.3, <1.7', # 1.5.3 has the session serializer configurable
|
|
|
|
# 1.7 is not tested yet
|
2013-09-28 09:16:17 +02:00
|
|
|
'dnspython',
|
2013-09-28 15:06:34 +02:00
|
|
|
'south',
|
|
|
|
'django-bootstrap-form',
|
|
|
|
'django-registration',
|
2013-10-18 15:30:17 -07:00
|
|
|
'django-extensions',
|
2013-11-02 05:15:06 +01:00
|
|
|
'python-social-auth',
|
2013-11-26 03:03:51 +01:00
|
|
|
'requests', # for our ddns_client
|
2013-09-28 15:43:17 +02:00
|
|
|
# packages only needed for development:
|
|
|
|
'django-debug-toolbar',
|
|
|
|
'pytest',
|
|
|
|
'pytest-django',
|
|
|
|
'pytest-pep8',
|
|
|
|
'sphinx',
|
2013-09-28 09:16:17 +02:00
|
|
|
],
|
|
|
|
classifiers=[
|
2013-11-08 02:55:59 +01:00
|
|
|
'Development Status :: 4 - Beta',
|
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',
|
2013-12-12 01:27:36 +01:00
|
|
|
'Programming Language :: Python :: 2.6',
|
2013-09-28 09:16:17 +02:00
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Topic :: Internet :: Name Service (DNS)',
|
|
|
|
],
|
|
|
|
)
|