diff options
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..bd8620af --- /dev/null +++ b/setup.py @@ -0,0 +1,49 @@ +import os +import sys +from setuptools import setup, find_packages + + +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + +requirements = [ + 'httplib2', + 'prettytable', + "python-keystoneclient >= 2012.1", + "python-novaclient >= 2012.1", +] + +if sys.version_info < (2, 6): + requirements.append('simplejson') +if sys.version_info < (2, 7): + requirements.append("argparse") + +setup( + name = "python-openstackclient", + version = "2012.0", + description = "OpenStack command-line client", + long_description = read('README.rst'), + license="Apache License, Version 2.0", + author = "Dean Troyer", + author_email = "dtroyer@gmail.com", + packages=find_packages(exclude=['tests', 'tests.*']), + url = "https://github.com/dtroyer/python-openstackclient", + install_requires=requirements, + classifiers=[ + 'Development Status :: 2 - Pre-Alpha', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'Intended Audience :: Information Technology', + 'License :: OSI Approved :: Apache Software License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + ], + + tests_require = ["nose", "mock", "mox"], + test_suite = "nose.collector", + + entry_points = { + 'console_scripts': ['stack = openstackclient.shell:main'] + } +) + |
