You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by cm...@apache.org on 2021/03/31 00:07:03 UTC

[qpid-interop-test] 34/41: QPIDIT-139: Added separate install for python 3 rather than using symbolic links

This is an automated email from the ASF dual-hosted git repository.

cml pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-interop-test.git

commit 111537291e52b7c8ef437bcbfccb4afa2c939f43
Author: Kim van der Riet <kp...@apache.org>
AuthorDate: Sat Jan 18 13:40:54 2020 -0500

    QPIDIT-139: Added separate install for python 3 rather than using symbolic links
---
 CMakeLists.txt | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9084cd1..c1a445a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -165,8 +165,11 @@ endif()
 configure_file(config.sh.in config.sh @ONLY)
 
 # Install files using python setup.py
-install(CODE "MESSAGE(STATUS \"Python install dir: ${CMAKE_INSTALL_PREFIX}/lib/${PYTHON2_DIR_NAME}/site-packages/qpid_interop_test/\")")
+install(CODE "MESSAGE(STATUS \"Python 2 install dir: ${CMAKE_INSTALL_PREFIX}/lib/${PYTHON2_DIR_NAME}/site-packages/qpid_interop_test/\")")
 install(CODE "execute_process(COMMAND python setup.py install --prefix ${CMAKE_INSTALL_PREFIX}
                               WORKING_DIRECTORY ../)")
+install(CODE "MESSAGE(STATUS \"Python 3 install dir: ${CMAKE_INSTALL_PREFIX}/lib/${PYTHON3_DIR_NAME}/site-packages/qpid_interop_test/\")")
+install(CODE "execute_process(COMMAND python3 setup.py install --prefix ${CMAKE_INSTALL_PREFIX}
+                              WORKING_DIRECTORY ../)")
 install(FILES build/config.sh
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/libexec/qpid_interop_test/)
\ No newline at end of file
+        DESTINATION ${CMAKE_INSTALL_PREFIX}/libexec/qpid_interop_test/)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org