diff options
| author | Monty Taylor <mordred@inaugust.com> | 2012-02-29 14:14:14 -0800 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2012-02-29 14:14:14 -0800 |
| commit | 57e352a070665f3dbc2a90d53c34521178669836 (patch) | |
| tree | b45aa1517b0895675ad7bb955508d0aeb84375d9 /setup.py | |
| parent | 972677fc3dc24a5084657fc337fb2b2981a30e0c (diff) | |
| download | python-glanceclient-57e352a070665f3dbc2a90d53c34521178669836.tar.gz | |
All the latest OpenStack hotness.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -2,16 +2,20 @@ import os import sys from setuptools import setup, find_packages +from glanceclient.openstack.common.setup import parse_requirements +from glanceclient.openstack.common.setup import parse_dependency_links +from glanceclient.openstack.common.setup import write_requirements +from glanceclient.openstack.common.setup import write_git_changelog + +requires = parse_requirements() +depend_links = parse_dependency_links() +write_requirements() +write_git_changelog() + def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() -requirements = ['httplib2', 'prettytable'] -if sys.version_info < (2, 6): - requirements.append('simplejson') -if sys.version_info < (2, 7): - requirements.append('argparse') - setup( name = "python-glanceclient", version = "2012.1", @@ -31,9 +35,9 @@ setup( 'Operating System :: OS Independent', 'Programming Language :: Python', ], - install_requires = requirements, + install_requires=requires, + dependency_links=depend_links, - tests_require = ["nose", "mock", "mox"], test_suite = "nose.collector", entry_points = { |
