nsupdate.info/setup.py
Thomas Waldmann 7a99935597 use json serializer for sessions, change timestamps' data type, more security docs
json serializer can't serialize datetime (but integers), but is more safe than the pickle serializer.
2013-11-03 09:52:11 +01:00

66 lines
1.8 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',
version='0.0.1a0',
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': [
'static/*.html',
'static/css/*',
'static/screenshots/*',
'templates/*',
],
'nsupdate.accounts': [
'templates/accounts/*.html',
'templates/registration/*.html',
],
'nsupdate.main': [
'templates/main/*.html',
'templates/main/includes/*',
],
},
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=[
'django >1.5.3, <1.6', # 1.5.3 has the session serializer configurable
'dnspython',
'south',
'django-bootstrap-form',
'django-registration',
'django-extensions',
'python-social-auth',
# packages only needed for development:
'django-debug-toolbar',
'pytest',
'pytest-django',
'pytest-pep8',
'sphinx',
],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: Name Service (DNS)',
],
)