aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Jones <cmsj@tenshu.net>2013-10-16 19:48:57 +0100
committerChris Jones <cmsj@tenshu.net>2013-10-22 17:49:35 +0100
commit80da8e39680f4da405861b33536012448244ba0d (patch)
tree1ebb0a81bf506ea2776bea9d52d00b8dc5594d61
parentb3b5b600511515897f529750439776355c77d564 (diff)
Add release configuration.
We can now release through openstack.org infrastructure. Change-Id: I6dff6ae4a97db15bdc4ce419e46e9a125bec277c
-rw-r--r--MANIFEST.in1
-rw-r--r--babel.cfg1
-rw-r--r--requirements.txt1
-rw-r--r--setup.cfg24
-rw-r--r--setup.py22
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini11
7 files changed, 61 insertions, 0 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..bb3ec5f
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1 @@
+include README.md
diff --git a/babel.cfg b/babel.cfg
new file mode 100644
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
index 0000000..4e46b89
--- /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 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
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
index 0000000..c3726e8
--- /dev/null
+++ b/test-requirements.txt
@@ -0,0 +1 @@
+pyyaml
diff --git a/tox.ini b/tox.ini
new file mode 100644
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}