57 lines
2.0 KiB
Python
Raw Normal View History

#!/usr/bin/python
#
2012-10-12 16:54:06 +13: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.
2012-10-10 08:55:03 +13:00
2012-10-12 16:54:06 +13:00
import os
2012-10-10 08:55:03 +13:00
import setuptools
from heatclient.openstack.common import setup
from heatclient.version import version_info as version
2012-10-10 08:55:03 +13:00
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setuptools.setup(
name="python-heatclient",
version=version.canonical_version_string(always=True),
2012-10-12 16:54:06 +13:00
author='Heat API Developers',
author_email='discuss@heat-api.org',
2012-10-10 08:55:03 +13:00
description="Client library for Heat orchestration API",
2012-10-10 12:52:35 +13:00
long_description=read('README.md'),
2012-10-10 08:55:03 +13:00
license='Apache',
url='https://github.com/openstack/python-heatclient',
2012-10-10 08:55:03 +13:00
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
2012-10-12 16:54:06 +13:00
install_requires=setup.parse_requirements(),
test_suite="nose.collector",
cmdclass=setup.get_cmdclass(),
2012-10-10 08:55:03 +13:00
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: OpenStack',
2012-10-10 08:55:03 +13:00
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
2012-10-12 16:54:06 +13:00
entry_points={
'console_scripts': ['heat = heatclient.shell:main']
},
dependency_links=setup.parse_dependency_links(),
tests_require=setup.parse_requirements(['tools/test-requires']),
2012-10-10 08:55:03 +13:00
setup_requires=['setuptools-git>=0.4'],
data_files=[('heatclient', ['heatclient/versioninfo'])]
2012-10-10 08:55:03 +13:00
)