django-constance/setup.py

50 lines
1.5 KiB
Python
Raw Normal View History

2010-08-23 11:21:01 +00:00
import os
from setuptools import setup, find_packages
# work around to prevent http://bugs.python.org/issue15881 from showing up
try:
import multiprocessing
except ImportError:
pass
2010-09-17 12:54:30 +00:00
2010-09-21 08:15:52 +00:00
try:
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
long_description = f.read().strip()
f.close()
2010-09-21 08:17:41 +00:00
except IOError:
2010-09-21 08:15:52 +00:00
long_description = None
2010-09-17 12:54:30 +00:00
2010-08-23 11:21:01 +00:00
setup(
name='django-constance',
2013-03-02 15:34:31 +00:00
version='0.5',
2011-01-24 13:06:23 +00:00
url="http://github.com/comoga/django-constance",
description='Django live settings with pluggable backends, including Redis.',
2010-09-17 12:54:30 +00:00
long_description=long_description,
2010-08-23 11:21:01 +00:00
author='Comoga Django Team',
2010-09-17 12:54:30 +00:00
author_email='dev@comoga.cz',
2013-03-02 16:03:50 +00:00
maintainer='Jannis Leidel',
maintainer_email='jannis@leidel.info',
2010-09-17 12:54:30 +00:00
license='BSD',
2010-08-23 11:21:01 +00:00
keywords='django libraries settings redis'.split(),
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
2010-09-17 12:54:30 +00:00
'Framework :: Django',
2010-08-23 11:21:01 +00:00
'Intended Audience :: Developers',
'Natural Language :: English',
2010-09-03 14:54:11 +00:00
'License :: OSI Approved :: BSD License',
2010-08-23 11:21:01 +00:00
'Operating System :: OS Independent',
'Programming Language :: Python',
2010-09-17 12:54:30 +00:00
'Topic :: Utilities',
2010-08-23 11:21:01 +00:00
],
2010-08-25 13:55:09 +00:00
packages=find_packages(exclude=['tests']),
2010-08-23 11:21:01 +00:00
include_package_data=True,
2010-12-02 10:08:01 +00:00
test_suite='tests.runtests.main',
test_requires=['django-nose'],
extras_require = {
'database': ['django-picklefield'],
'redis': ['redis'],
}
2010-08-23 11:21:01 +00:00
)