Add initial setup.py and setup.cfg for easier packaging.

This commit is contained in:
James Slagle 2015-02-05 16:56:28 -05:00
parent 28787017cf
commit cfc56d51b3
2 changed files with 65 additions and 0 deletions

43
setup.cfg Normal file
View File

@ -0,0 +1,43 @@
[metadata]
name = instack-undercloud
summary = instack-undercloud
description-file =
README.md
author = James Slagle
author-email = jslagle@redhat.com
home-page = http://www.redhat.com/
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
[files]
scripts =
instack-apply-config
instack-build-images
instack-delete-overcloud
instack-deploy-overcloud
instack-install-undercloud
instack-install-undercloud-source
instack-ironic-deployment
instack-prepare-for-overcloud
instack-setup-delorean
instack-setup-host-rhel7
instack-test-overcloud
instack-update-overcloud
instack-virt-setup
tripleo
data_files =
share/instack-undercloud/elements elements/*
share/instack-undercloud/heat-templates heat-templates/*
share/instack-undercloud/json-files json-files/*
share/instack-undercloud/jenkins-jobs jenkins-jobs/*

22
setup.py Normal file
View File

@ -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>=0.5.21,<1.0'],
pbr=True)