From 80da8e39680f4da405861b33536012448244ba0d Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 16 Oct 2013 19:48:57 +0100 Subject: Add release configuration. We can now release through openstack.org infrastructure. Change-Id: I6dff6ae4a97db15bdc4ce419e46e9a125bec277c --- MANIFEST.in | 1 + babel.cfg | 1 + requirements.txt | 1 + setup.cfg | 24 ++++++++++++++++++++++++ setup.py | 22 ++++++++++++++++++++++ test-requirements.txt | 1 + tox.ini | 11 +++++++++++ 7 files changed, 61 insertions(+) create mode 100644 MANIFEST.in create mode 100644 babel.cfg create mode 100644 requirements.txt create mode 100644 setup.cfg create mode 100644 setup.py create mode 100644 test-requirements.txt create mode 100644 tox.ini diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..bb3ec5f0 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include README.md diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 00000000..efceab81 --- /dev/null +++ b/babel.cfg @@ -0,0 +1 @@ +[python: **.py] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..4e46b891 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +pbr>=0.5.21,<1.0 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..1a5cb59b --- /dev/null +++ b/setup.cfg @@ -0,0 +1,24 @@ +[metadata] +name = tripleo-heat-templates +version = 0.0.1 +summary = Heat templates for deploying OpenStack with OpenStack. +description-file = + README.md +author = OpenStack +author_email = openstack-dev@lists.openstack.org +license = Apache License (2.0) +home-page = https://git.openstack.org/cgit/openstack/tripleo-heat-templates +classifier = + Environment :: OpenStack + Development Status :: 3 - Alpha + License :: OSI Approved :: Apache Software License + Operating System :: POSIX :: Linux + Programming Language :: Other + Environment :: Console + +[files] +data_files = + share/tripleo-heat-tempaltes/examples = examples/* + share/tripleo-heat-templates = + Makefile + *.yaml diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..70c2b3f3 --- /dev/null +++ b/setup.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +# Copyright (c) 2013 Hewlett-Packard Development Company, L.P. +# +# 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. + +# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT +import setuptools + +setuptools.setup( + setup_requires=['pbr'], + pbr=True) diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 00000000..c3726e8b --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1 @@ +pyyaml diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..a7823b10 --- /dev/null +++ b/tox.ini @@ -0,0 +1,11 @@ +[tox] +minversion = 1.6 +skipsdist = True + +[testenv] +usedevelop = True +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + +[testenv:venv] +commands = {posargs} -- cgit 1.2.3-korg