Update setup for easier packaging and publish a tarball

Changes have been made to the setup.cfg file so that this repository
can be packaged (rpm, deb, etc) easier. This change also updates the
project layout so that we're publishing the code to tarballs, which
again, makes it easy to package config_template for distros.

Change-Id: I7f3ee2a847995e5572f1241f3952ed2720a23958
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
Kevin Carter 2019-07-17 07:14:14 -05:00
parent bb4e18d445
commit 99d8c3cdae
No known key found for this signature in database
GPG Key ID: CE94BD890A47B20A
2 changed files with 7 additions and 3 deletions

View File

@ -18,7 +18,8 @@ build-dir = doc/build
source-dir = doc/source
[pbr]
warnerrors = True
skip_authors = True
skip_changelog = True
[wheel]
universal = 1
@ -29,5 +30,5 @@ setup-hooks =
[files]
data_files =
usr/share/ansible/plugins/action = action/*
usr/share/ansible/plugins/modules = library/*
share/ansible/plugins/action = action/*
share/ansible/plugins/modules = library/*

View File

@ -24,3 +24,6 @@
gate:
jobs:
- openstack-ansible-python3-ubuntu-bionic
post:
jobs:
- publish-openstack-python-branch-tarball