Add release configuration.
authorChris Jones <cmsj@tenshu.net>
Wed, 16 Oct 2013 18:48:57 +0000 (19:48 +0100)
committerChris Jones <cmsj@tenshu.net>
Tue, 22 Oct 2013 16:49:35 +0000 (17:49 +0100)
We can now release through openstack.org infrastructure.

Change-Id: I6dff6ae4a97db15bdc4ce419e46e9a125bec277c

MANIFEST.in [new file with mode: 0644]
babel.cfg [new file with mode: 0644]
requirements.txt [new file with mode: 0644]
setup.cfg [new file with mode: 0644]
setup.py [new file with mode: 0644]
test-requirements.txt [new file with mode: 0644]
tox.ini [new file with mode: 0644]

diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644 (file)
index 0000000..bb3ec5f
--- /dev/null
@@ -0,0 +1 @@
+include README.md
diff --git a/babel.cfg b/babel.cfg
new file mode 100644 (file)
index 0000000..efceab8
--- /dev/null
+++ b/babel.cfg
@@ -0,0 +1 @@
+[python: **.py]
diff --git a/requirements.txt b/requirements.txt
new file mode 100644 (file)
index 0000000..4e46b89
--- /dev/null
@@ -0,0 +1 @@
+pbr>=0.5.21,<1.0
diff --git a/setup.cfg b/setup.cfg
new file mode 100644 (file)
index 0000000..1a5cb59
--- /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 (file)
index 0000000..70c2b3f
--- /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 (file)
index 0000000..c3726e8
--- /dev/null
@@ -0,0 +1 @@
+pyyaml
diff --git a/tox.ini b/tox.ini
new file mode 100644 (file)
index 0000000..a7823b1
--- /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}