import os import sys import setuptools from glanceclient.openstack.common import setup requires = setup.parse_requirements() dependency_links = setup.parse_dependency_links() tests_require = setup.parse_requirements(['tools/test-requires']) if sys.version_info < (2, 6): requires.append('simplejson') def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setuptools.setup( name="python-glanceclient", version=setup.get_post_version('glanceclient'), description="Client library for OpenStack Image API", long_description=read('README.rst'), url='https://github.com/openstack/python-glanceclient', license='Apache', author='OpenStack Glance Contributors', author_email='*****@*****.**', packages=setuptools.find_packages(exclude=['tests', 'tests.*']), classifiers=[ 'Development Status :: 4 - Beta',
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() setup( name = "python-glanceclient", version = "2012.1", description = "Client library for OpenStack Glance API", long_description = read('README.rst'), url = 'https://github.com/openstack/python-glanceclient', license = 'Apache', author = 'Jay Pipes, based on work by Rackspace and Jacob Kaplan-Moss', author_email = '*****@*****.**', packages = find_packages(exclude=['tests', 'tests.*']), classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console',