2013-03-13 18:09:17 -04:00
|
|
|
# Copyright 2011 OpenStack Foundation
|
2011-11-16 15:21:25 -06:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2011-01-25 14:01:22 -06:00
|
|
|
import os
|
2011-11-16 15:21:25 -06:00
|
|
|
import setuptools
|
2011-01-25 14:01:22 -06:00
|
|
|
import sys
|
2011-07-29 10:06:05 -04:00
|
|
|
|
2012-06-11 08:09:12 -07:00
|
|
|
from novaclient.openstack.common import setup
|
|
|
|
|
2011-01-25 14:01:22 -06:00
|
|
|
|
2011-11-16 15:21:25 -06:00
|
|
|
def read_file(file_name):
|
|
|
|
return open(os.path.join(os.path.dirname(__file__), file_name)).read()
|
2013-03-28 06:34:53 +01:00
|
|
|
project = 'python-novaclient'
|
2011-11-16 15:21:25 -06:00
|
|
|
|
|
|
|
setuptools.setup(
|
2013-03-28 06:34:53 +01:00
|
|
|
name=project,
|
|
|
|
version=setup.get_version(project),
|
|
|
|
author='OpenStack',
|
|
|
|
author_email='openstack-dev@lists.openstack.org',
|
|
|
|
description="Client library for OpenStack Compute API.",
|
2011-11-16 15:21:25 -06:00
|
|
|
long_description=read_file("README.rst"),
|
|
|
|
license="Apache License, Version 2.0",
|
|
|
|
url="https://github.com/openstack/python-novaclient",
|
2012-04-01 18:33:56 +08:00
|
|
|
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
|
2012-06-26 11:04:48 -05:00
|
|
|
install_requires=setup.parse_requirements(),
|
|
|
|
cmdclass=setup.get_cmdclass(),
|
2013-03-19 17:27:28 +02:00
|
|
|
setup_requires=['setuptools_git>=0.4'],
|
|
|
|
include_package_data=True,
|
2011-11-16 15:21:25 -06:00
|
|
|
classifiers=[
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Environment :: Console",
|
2012-10-22 18:46:41 -04:00
|
|
|
"Environment :: OpenStack",
|
2011-11-16 15:21:25 -06:00
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Intended Audience :: Information Technology",
|
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python"
|
|
|
|
],
|
|
|
|
entry_points={
|
|
|
|
"console_scripts": ["nova = novaclient.shell:main"]
|
2012-08-24 18:01:30 +00:00
|
|
|
},
|
2011-02-08 08:58:26 -04:00
|
|
|
)
|