2010-11-25 14:33:37 +00:00
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
|
|
|
|
|
|
|
import sys
|
|
|
|
sys.path.insert(0, '.')
|
2010-11-27 13:27:26 +00:00
|
|
|
import injector
|
|
|
|
|
|
|
|
version = injector.__version__
|
|
|
|
version_tag = injector.__version_tag__
|
2010-11-25 14:33:37 +00:00
|
|
|
long_description = open('README.rst').read()
|
|
|
|
description = long_description.splitlines()[0].strip()
|
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='injector',
|
|
|
|
url='http://github.com/alecthomas/injector',
|
|
|
|
download_url='http://pypi.python.org/pypi/injector',
|
|
|
|
version=version,
|
2010-11-27 13:27:26 +00:00
|
|
|
options=dict(egg_info=dict(tag_build=version_tag)),
|
2010-11-25 14:33:37 +00:00
|
|
|
description=description,
|
|
|
|
long_description=long_description,
|
|
|
|
license='BSD',
|
|
|
|
platforms=['any'],
|
|
|
|
py_modules=['injector'],
|
|
|
|
author='Alec Thomas',
|
|
|
|
author_email='alec@swapoff.org',
|
|
|
|
install_requires=[
|
|
|
|
'setuptools >= 0.6b1',
|
|
|
|
],
|
|
|
|
)
|