Migrate to pbr.
Fixes bug 1179007 Change-Id: Iaa8a2722938d0b25df1041695f3c1c8dbf563b47
This commit is contained in:
parent
d5053e63ad
commit
206650597b
|
@ -0,0 +1,17 @@
|
||||||
|
If you would like to contribute to the development of OpenStack,
|
||||||
|
you must follow the steps in the "If you're a developer, start here"
|
||||||
|
section of this page:
|
||||||
|
|
||||||
|
http://wiki.openstack.org/HowToContribute
|
||||||
|
|
||||||
|
Once those steps have been completed, changes to OpenStack
|
||||||
|
should be submitted for review via the Gerrit tool, following
|
||||||
|
the workflow documented at:
|
||||||
|
|
||||||
|
http://wiki.openstack.org/GerritWorkflow
|
||||||
|
|
||||||
|
Pull requests submitted through GitHub will be ignored.
|
||||||
|
|
||||||
|
Bugs should be filed on Launchpad, not GitHub:
|
||||||
|
|
||||||
|
https://bugs.launchpad.net/heat
|
|
@ -1,5 +1,6 @@
|
||||||
|
include CONTRIBUTING.rst
|
||||||
include LICENSE
|
include LICENSE
|
||||||
include README.rst
|
include README.rst
|
||||||
include MANIFEST.in
|
include MANIFEST.in
|
||||||
graft doc
|
graft doc
|
||||||
graft tools
|
graft tools
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
|
d2to1>=0.2.10,<0.3
|
||||||
|
pbr>=0.5.10,<0.6
|
||||||
|
|
||||||
boto==2.5.2
|
boto==2.5.2
|
||||||
psutil
|
psutil<1.0
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
[metadata]
|
||||||
|
name = heat-cfntools
|
||||||
|
summary = Tools required to be installed on Heat provisioned cloud instances
|
||||||
|
description-file =
|
||||||
|
README.rst
|
||||||
|
author = OpenStack
|
||||||
|
author-email = openstack-dev@lists.openstack.org
|
||||||
|
home-page = http://www.openstack.org/
|
||||||
|
classifier =
|
||||||
|
Environment :: OpenStack
|
||||||
|
Intended Audience :: Information Technology
|
||||||
|
Intended Audience :: System Administrators
|
||||||
|
License :: OSI Approved :: Apache Software License
|
||||||
|
Operating System :: POSIX :: Linux
|
||||||
|
Programming Language :: Python
|
||||||
|
Programming Language :: Python :: 2
|
||||||
|
Programming Language :: Python :: 2.7
|
||||||
|
Programming Language :: Python :: 2.6
|
||||||
|
|
||||||
|
[files]
|
||||||
|
packages =
|
||||||
|
heat_cfntools
|
||||||
|
scripts =
|
||||||
|
bin/cfn-create-aws-symlinks
|
||||||
|
bin/cfn-get-metadata
|
||||||
|
bin/cfn-hup
|
||||||
|
bin/cfn-init
|
||||||
|
bin/cfn-push-stats
|
||||||
|
bin/cfn-signal
|
||||||
|
|
||||||
|
[global]
|
||||||
|
setup-hooks =
|
||||||
|
pbr.hooks.setup_hook
|
55
setup.py
55
setup.py
|
@ -1,50 +1,21 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 Red Hat, Inc.
|
# 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
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
# 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
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
# License for the specific language governing permissions and limitations
|
# implied.
|
||||||
# under the License.
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
import os
|
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
|
|
||||||
def read(fname):
|
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='heat-cfntools',
|
setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5.10,<0.6'],
|
||||||
version='1.2.3',
|
d2to1=True)
|
||||||
description='Tools required to be installed on Heat '
|
|
||||||
'provisioned cloud instances',
|
|
||||||
long_description=read('README.rst'),
|
|
||||||
license='Apache License (2.0)',
|
|
||||||
author='Heat API Developers',
|
|
||||||
author_email='discuss@heat-api.org',
|
|
||||||
url='http://heat-api.org.org/',
|
|
||||||
packages=setuptools.find_packages(exclude=['bin']),
|
|
||||||
include_package_data=True,
|
|
||||||
classifiers=[
|
|
||||||
'Development Status :: 4 - Beta',
|
|
||||||
'License :: OSI Approved :: Apache Software License',
|
|
||||||
'Operating System :: POSIX :: Linux',
|
|
||||||
'Programming Language :: Python :: 2.6',
|
|
||||||
'Environment :: No Input/Output (Daemon)',
|
|
||||||
],
|
|
||||||
scripts=[
|
|
||||||
'bin/cfn-get-metadata',
|
|
||||||
'bin/cfn-hup',
|
|
||||||
'bin/cfn-init',
|
|
||||||
'bin/cfn-push-stats',
|
|
||||||
'bin/cfn-signal',
|
|
||||||
'bin/cfn-create-aws-symlinks'],
|
|
||||||
py_modules=[])
|
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -11,7 +11,6 @@ deps = -r{toxinidir}/requirements.txt
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
sitepackages = True
|
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
@ -24,11 +23,8 @@ deps = -r{toxinidir}/requirements.txt
|
||||||
commands = bash tools/lintstack.sh
|
commands = bash tools/lintstack.sh
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
# Also do not run test_coverage_ext tests while gathering coverage as those
|
|
||||||
# tests conflict with coverage.
|
|
||||||
commands =
|
commands =
|
||||||
python setup.py testr --coverage \
|
python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
--testr-args='^(?!.*test.*coverage).*$'
|
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
Loading…
Reference in New Issue