diff options
author | Gabriel Hurley <gabriel@strikeawe.com> | 2011-10-25 16:50:08 -0700 |
---|---|---|
committer | Gabriel Hurley <gabriel@strikeawe.com> | 2011-10-25 16:50:08 -0700 |
commit | 17f6b83ee6157371104b065d7fb9cb6e5b03c386 (patch) | |
tree | 61e4b41e2edf001f6023b305f37d3c61131e9708 /setup.py | |
download | python-keystoneclient-17f6b83ee6157371104b065d7fb9cb6e5b03c386.tar.gz |
Initial commit.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..19d9e3e --- /dev/null +++ b/setup.py @@ -0,0 +1,40 @@ +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', 'argparse', 'prettytable'] +if sys.version_info < (2, 6): + requirements.append('simplejson') + +setup( + name = "python-keystoneclient", + version = "2.7", + description = "Client library for OpenStack Keystone API", + long_description = read('README.rst'), + url = 'https://github.com/4P/python-keystoneclient', + license = 'Apache', + author = 'Nebula Inc, based on work by Rackspace and Jacob Kaplan-Moss', + author_email = 'gabriel.hurley@nebula.com', + packages = find_packages(exclude=['tests', 'tests.*']), + classifiers = [ + 'Development Status :: 4 - Beta', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'Intended Audience :: Information Technology', + 'License :: OSI Approved :: Apache Software License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + ], + install_requires = requirements, + + tests_require = ["nose", "mock", "mox"], + test_suite = "nose.collector", + + entry_points = { + 'console_scripts': ['keystone = keystoneclient.shell:main'] + } +) |