From 8d0d4deb1dd1b735dd5d7b68d12909bcf0b8724b Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Thu, 5 Feb 2015 17:19:26 +0000 Subject: [PATCH] Add python setup config file Providing a setup cofiguration file can be a benifit for systems that want to install this files using pip as a package manager. Change-Id: Ida7f9142147d3cf88076f97a348c3e5ffff0259a --- setup.cfg | 21 +++++++++++++++++++++ setup.py | 18 ++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..5bfd8663 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,21 @@ +[metadata] +name = heat-templates +summary = heat-templates +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 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.3 + diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..93952d80 --- /dev/null +++ b/setup.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python +# 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. +import setuptools + +setuptools.setup( + setup_requires=['pbr'], + pbr=True)