Add setup files

- Allow for setuptools to build eggs
- Add and update .gitignore file

Change-Id: I04c15ca336393de1a3548d28ad7ea6b774ac4517
This commit is contained in:
Harry Rybacki
2016-04-20 10:51:42 -04:00
parent 87dd8bef9d
commit 01dcb97767
3 changed files with 57 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.egg*

37
setup.cfg Normal file
View File

@@ -0,0 +1,37 @@
[metadata]
name = ansible-role-tripleo-collect-logs
summary = ansible-role-tripleo-collect-logs - An Ansible role for aggregating OpenStack deployment and testing logs
description-file =
README.md
author = RDO-CI Team
author-email = bultel@redhat.com, whayutin@redhat.com, harry@redhat.com
home-page = https://github.com/redhat-openstack/ansible-role-tripleo-collect-logs
classifier =
License :: OSI Approved :: Apache Software License
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: System Administrators
Intended Audience :: Information Technology
Topic :: Utilities
[global]
setup-hooks =
pbr.hooks.setup_hook
[files]
data_files =
usr/local/share/ansible-role-tripleo-collect-logs/defaults = ../ansible-role-tripleo-collect-logs/defaults/*
usr/local/share/ansible-role-tripleo-collect-logs/files = ../ansible-role-tripleo-collect-logs/files/*
usr/local/share/ansible-role-tripleo-collect-logs/handlers = ../ansible-role-tripleo-collect-logs/handlers/*
usr/local/share/ansible-role-tripleo-collect-logs/meta = ../ansible-role-tripleo-collect-logs/meta/*
usr/local/share/ansible-role-tripleo-collect-logs/tasks = ../ansible-role-tripleo-collect-logs/tasks/*
usr/local/share/ansible-role-tripleo-collect-logs/templates = ../ansible-role-tripleo-collect-logs/templates/*
usr/local/share/ansible-role-tripleo-collect-logs/tests = ../ansible-role-tripleo-collect-logs/tests/*
usr/local/share/ansible-role-tripleo-collect-logs/vars = ../ansible-role-tripleo-collect-logs/vars/*
[wheel]
universal = 1
[pbr]
skip_authors = True
skip_changelog = True

19
setup.py Normal file
View File

@@ -0,0 +1,19 @@
# Copyright Red Hat, Inc. All Rights Reserved.
#
# 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)