From 175805ab7e115bc9b031af9b4f23d2520d33275a Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 30 Sep 2015 14:59:49 +0200 Subject: Python packaging of PKI client library A new setup.py in base/common/python makes it possible to bundle the pki client library and upload it on PyPI. The setup.py in the root directory is only used for tox and testing. It's a cleaner and less fragile approach than to support two different build flavors with one setup.py The 'release' alias from setup.cfg creates and uploads a source distribution and an universal wheel: $ sudo yum install python-wheel python-setuptools $ cd base/common/python $ python setup.py release The 'packages' alias just creates the source distribution and wheel: $ python setup.py packages The version number is taken from the Version and Release fields of pki-core.spec. --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 172610bb1..2feeda176 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,8 @@ dist MANIFEST *.pyc __pycache__ + +/base/common/python/build/ +/base/common/python/dist/ +/base/common/python/dogtag_pki.egg-info/ + -- cgit