diff options
author | Christian Heimes <cheimes@redhat.com> | 2015-09-30 14:59:49 +0200 |
---|---|---|
committer | Christian Heimes <cheimes@redhat.com> | 2015-10-01 20:03:14 +0200 |
commit | 175805ab7e115bc9b031af9b4f23d2520d33275a (patch) | |
tree | 347b1fece9952e4ca9eece04006b991063e9fb57 /.gitignore | |
parent | 344caf335d94e7aa3a32bdd850ed1363088c896d (diff) | |
download | pki-175805ab7e115bc9b031af9b4f23d2520d33275a.tar.gz pki-175805ab7e115bc9b031af9b4f23d2520d33275a.tar.xz pki-175805ab7e115bc9b031af9b4f23d2520d33275a.zip |
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.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 5 |
1 files changed, 5 insertions, 0 deletions
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/ + |