From 99d8c3cdaec63378047b32eb6f52386e2cd44669 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Wed, 17 Jul 2019 07:14:14 -0500 Subject: [PATCH] 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 --- setup.cfg | 7 ++++--- zuul.d/project.yaml | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 68b5d74..25098c8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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/* diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index be5399f..54832b5 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -24,3 +24,6 @@ gate: jobs: - openstack-ansible-python3-ubuntu-bionic + post: + jobs: + - publish-openstack-python-branch-tarball