From 34a81f6988701dd1df76b49876ae92ba45428ae4 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Wed, 12 Jun 2019 20:11:03 +0200 Subject: Packaging: Switch Windows distribution to Python 3.7 --- CMakeScripts/HelperFunctions.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CMakeScripts/HelperFunctions.cmake') diff --git a/CMakeScripts/HelperFunctions.cmake b/CMakeScripts/HelperFunctions.cmake index b564f4ef6..791dcbe74 100644 --- a/CMakeScripts/HelperFunctions.cmake +++ b/CMakeScripts/HelperFunctions.cmake @@ -101,12 +101,12 @@ endfunction(list_files_pacman) function(list_files_pip package_name file_list) # use pip to show package information including full list of files installed by the package execute_process( - COMMAND pip show -f ${package_name} + COMMAND pip3 show -f ${package_name} OUTPUT_FILE list_files_pip_temp.txt RESULT_VARIABLE res ERROR_VARIABLE err ) - check_error("${res}" "${err}" "pip show -f ${package_name}") + check_error("${res}" "${err}" "pip3 show -f ${package_name}") # clean up output execute_process( @@ -118,7 +118,7 @@ function(list_files_pip package_name file_list) RESULT_VARIABLE res ERROR_VARIABLE err ) - check_error("${res}" "${err}" "Parsing result of 'pip show -f ${package_name}'") + check_error("${res}" "${err}" "Parsing result of 'pip3 show -f ${package_name}'") SET(${file_list} ${out} PARENT_SCOPE) file(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/list_files_pip_temp.txt) -- cgit v1.2.3