setup tweaks

This commit is contained in:
Steve Baker 2012-10-12 16:54:06 +13:00
parent 3c9c859e81
commit b03183ce3f
4 changed files with 33 additions and 24 deletions

View File

@ -1,5 +1,10 @@
include AUTHORS include AUTHORS
include HACKING
include LICENSE
include README.rst
include ChangeLog include ChangeLog
include tox.ini
include heatclient/versioninfo include heatclient/versioninfo
exclude .gitignore recursive-include doc *
exclude .gitreview recursive-include tests *
recursive-include tools *

View File

@ -1 +1 @@
0.0.9.4ba8e46 0.0.11.3c9c859

View File

@ -1,33 +1,38 @@
import os # Licensed under the Apache License, Version 2.0 (the "License");
import sys # 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.
import os
import setuptools import setuptools
from heatclient.openstack.common import setup from heatclient.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): def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read() return open(os.path.join(os.path.dirname(__file__), fname)).read()
setuptools.setup( setuptools.setup(
name="python-heatclient", name="python-heatclient",
version=setup.get_post_version('heatclient'), version=setup.get_post_version('heatclient'),
description="Client library for Heat orchestration API",
long_description=read('README.md'),
url='https://github.com/heat-api/python-heatclient',
license='Apache',
author='Heat API Developers', author='Heat API Developers',
author_email='discuss@heat-api.org', author_email='discuss@heat-api.org',
description="Client library for Heat orchestration API",
long_description=read('README.md'),
license='Apache',
url='https://github.com/heat-api/python-heatclient',
packages=setuptools.find_packages(exclude=['tests', 'tests.*']), packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
include_package_data=True, include_package_data=True,
install_requires=setup.parse_requirements(),
test_suite="nose.collector",
cmdclass=setup.get_cmdclass(),
classifiers=[ classifiers=[
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',
'Environment :: Console', 'Environment :: Console',
@ -37,11 +42,10 @@ setuptools.setup(
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python', 'Programming Language :: Python',
], ],
cmdclass=setup.get_cmdclass(), entry_points={
install_requires=requires, 'console_scripts': ['heat = heatclient.shell:main']
dependency_links=dependency_links, },
tests_require=tests_require, dependency_links=setup.parse_dependency_links(),
tests_require=setup.parse_requirements(['tools/test-requires']),
setup_requires=['setuptools-git>=0.4'], setup_requires=['setuptools-git>=0.4'],
test_suite="nose.collector",
entry_points={'console_scripts': ['heat = heatclient.shell:main']},
) )

View File

@ -1,4 +1,4 @@
argparse argparse
prettytable>=0.6,<0.7 prettytable>=0.6,<0.7
python-keystoneclient>=0.1.2,<0.2 python-keystoneclient>=0.1.2
warlock<2 warlock<2