summaryrefslogtreecommitdiffstats
path: root/base/common/python
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2016-01-21 13:18:36 +0100
committerChristian Heimes <cheimes@redhat.com>2016-03-04 18:57:00 +0100
commit4dc934a5f3fbeea7e877aaadcb13a6eabb635463 (patch)
tree7c214d07501f21df0a3edc6c68e6fe088d954cee /base/common/python
parent4682e654ecbaef21879bb65db9e939089fda0b72 (diff)
downloadpki-4dc934a5f3fbeea7e877aaadcb13a6eabb635463.tar.gz
pki-4dc934a5f3fbeea7e877aaadcb13a6eabb635463.tar.xz
pki-4dc934a5f3fbeea7e877aaadcb13a6eabb635463.zip
Package pki client library for Python 3
Dogtag's Python code has been compatible with Python 3 for a while. A new package pki-base-python3 provides the pki package for clients. As of now pki.server is not packages for Python 3. The pki-base package also provides pki-base-python2. https://fedorahosted.org/pki/ticket/1739
Diffstat (limited to 'base/common/python')
-rw-r--r--base/common/python/CMakeLists.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/base/common/python/CMakeLists.txt b/base/common/python/CMakeLists.txt
index f6e57b949..1aa82e20e 100644
--- a/base/common/python/CMakeLists.txt
+++ b/base/common/python/CMakeLists.txt
@@ -43,11 +43,22 @@ install(
DIRECTORY
pki
DESTINATION
- ${PYTHON_SITE_PACKAGES}
+ ${PYTHON2_SITE_PACKAGES}
FILES_MATCHING PATTERN
*.py
)
+if(PYTHON3_SITE_PACKAGES)
+ install(
+ DIRECTORY
+ pki
+ DESTINATION
+ ${PYTHON3_SITE_PACKAGES}
+ FILES_MATCHING PATTERN
+ *.py
+ )
+endif()
+
install(
DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}/html