-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·40 lines (33 loc) · 985 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = __import__('balancer').__version__
try:
long_description = open('README.rst', 'rt').read()
except IOError:
long_description = ''
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
description = "A set of tools for using Django's multi-db feature to balance "
description += "database requests"
setup(
name='django-balancer',
version=VERSION,
description=description,
long_description = long_description,
author='Brandon Konkle, Mike Helmick',
author_email='[email protected]',
license='License :: OSI Approved :: BSD License',
url='http://github.com/michaelhelmick/django-balancer',
packages=['balancer'],
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
]
)