From 17f6b83ee6157371104b065d7fb9cb6e5b03c386 Mon Sep 17 00:00:00 2001 From: Gabriel Hurley Date: Tue, 25 Oct 2011 16:50:08 -0700 Subject: Initial commit. --- setup.py | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 setup.py (limited to 'setup.py') 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'] + } +) -- cgit v1.2.1