Add files for Python build

This commit is contained in:
Ade Lee 2019-01-04 15:22:03 -05:00
parent abe74a0114
commit 26071c8875
3 changed files with 55 additions and 0 deletions

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
pbr>=1.6
ansible

34
setup.cfg Normal file
View File

@ -0,0 +1,34 @@
[metadata]
name = ansible-role-atos-hsm
summary = ansible-role-atos-hsm - Ansible role to configure ATOS HSM clients.
description-file =
README.rst
author = TripleO Team
author-email = alee@redhat.com
home-page = https://github.com/dmend/ansible-role-atos-hsm
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 =
share/ansible/roles/atos-hsm/defaults = defaults/*
share/ansible/roles/atos-hsm/meta = meta/*
share/ansible/roles/atos-hsm/tasks = tasks/*
share/ansible/roles/atos-hsm/templates = templates/*
share/ansible/roles/atos-hsm/files = files/*
[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)