summaryrefslogtreecommitdiffstats
path: root/base/common/python/setup.cfg
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2016-08-08 13:08:17 +0200
committerChristian Heimes <cheimes@redhat.com>2016-08-08 13:08:17 +0200
commite948a42f8bf7823b18ad4551a8fe8a5db991e966 (patch)
treebf7f6d5e69b35c05cfc91b8028dcdf1196747c3b /base/common/python/setup.cfg
parent7bed80ef6b1529f948da260a6b43f2052c6ffb21 (diff)
downloadpki-e948a42f8bf7823b18ad4551a8fe8a5db991e966.tar.gz
pki-e948a42f8bf7823b18ad4551a8fe8a5db991e966.tar.xz
pki-e948a42f8bf7823b18ad4551a8fe8a5db991e966.zip
Improve setup.py for standalone Dogtag client releases
PyPI requires a different spelling of LGPLv3+ classifier. The correct name for installation requirements is 'install_requires', not 'requirements'. Add a new version_info command that rewrites setup.py in place to include the current version. This fixes a problem with source distributions of the client package.
Diffstat (limited to 'base/common/python/setup.cfg')
-rw-r--r--base/common/python/setup.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/common/python/setup.cfg b/base/common/python/setup.cfg
index ad4348612..32f212641 100644
--- a/base/common/python/setup.cfg
+++ b/base/common/python/setup.cfg
@@ -2,5 +2,5 @@
universal = 1
[aliases]
-packages = clean --all egg_info bdist_wheel sdist --format=zip
+packages = clean --all version_info egg_info bdist_wheel sdist --format=zip
release = packages register upload