2010-08-23 11:21:01 +00:00
|
|
|
import os
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
2013-03-02 15:34:12 +00:00
|
|
|
# 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",
|
2011-01-24 14:01:16 +00:00
|
|
|
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',
|
|
|
|
|
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',
|
2013-03-02 15:34:12 +00:00
|
|
|
test_requires=['django-nose'],
|
2010-08-23 11:21:01 +00:00
|
|
|
)
|