2011-10-25 16:50:08 -07:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
|
|
|
|
def read(fname):
|
|
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
|
|
|
|
2012-02-19 23:28:12 +01:00
|
|
|
requirements = ['httplib2', 'prettytable']
|
2011-10-25 16:50:08 -07:00
|
|
|
if sys.version_info < (2, 6):
|
|
|
|
requirements.append('simplejson')
|
2012-02-19 23:28:12 +01:00
|
|
|
if sys.version_info < (2, 7):
|
|
|
|
requirements.append('argparse')
|
2011-10-25 16:50:08 -07:00
|
|
|
|
|
|
|
setup(
|
2012-03-21 10:34:46 -04:00
|
|
|
name="python-keystoneclient",
|
|
|
|
version="2012.1",
|
|
|
|
description="Client library for OpenStack Keystone API",
|
|
|
|
long_description=read('README.rst'),
|
|
|
|
url='https://github.com/openstack/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=[
|
2011-10-25 16:50:08 -07:00
|
|
|
'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',
|
|
|
|
],
|
2012-03-21 10:34:46 -04:00
|
|
|
install_requires=requirements,
|
2011-10-25 16:50:08 -07:00
|
|
|
|
2012-03-21 10:34:46 -04:00
|
|
|
tests_require=["nose", "mock", "mox"],
|
|
|
|
test_suite="nose.collector",
|
2011-10-25 16:50:08 -07:00
|
|
|
|
2012-03-21 10:34:46 -04:00
|
|
|
entry_points={
|
2011-10-25 16:50:08 -07:00
|
|
|
'console_scripts': ['keystone = keystoneclient.shell:main']
|
|
|
|
}
|
|
|
|
)
|