3a4d84a527
1.16.0 supports py27. 2.0.0 will be py3 only. we expect that bugfix releases (if any) will be versioned 1.16.x and won't break py27. if there ever are other 1.x releases, it has to be checked whether they are py27 compatible.
76 lines
2.2 KiB
Python
76 lines
2.2 KiB
Python
"""
|
|
setup for nsupdate package
|
|
"""
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
with open('README.rst') as f:
|
|
readme_content = f.read()
|
|
|
|
setup(
|
|
name='nsupdate',
|
|
use_scm_version=True,
|
|
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',
|
|
setup_requires=['setuptools_scm'],
|
|
install_requires=[
|
|
'dnspython<1.17.0', # 1.16 is last with py27 support
|
|
'netaddr',
|
|
'django',
|
|
'django-bootstrap-form',
|
|
'django-registration-redux',
|
|
'django-extensions',
|
|
'social-auth-app-django',
|
|
'requests', # for our ddns_client
|
|
'setuptools_scm'
|
|
],
|
|
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.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Topic :: Internet :: Name Service (DNS)',
|
|
],
|
|
)
|