Merge pull request #7 from AnyOldName3/pysolate

Run Python in isolated mode so user packages aren't used.
This commit is contained in:
isanae
2020-08-21 01:28:29 -04:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ function(PYQT5_CREATE_TRANSLATION _qm_files)
endif()
add_custom_command(OUTPUT ${_ts_file}
COMMAND ${PYTHON_ROOT}/PCbuild/amd64/python.exe
ARGS -m PyQt5.pylupdate_main ${_lupdate_options} ${_lst_file_srcs} -ts ${_ts_file}
ARGS -I -m PyQt5.pylupdate_main ${_lupdate_options} ${_lst_file_srcs} -ts ${_ts_file}
DEPENDS ${_lst_file_srcs}
WORKING_DIRECTORY ${PYTHON_ROOT}
VERBATIM)
+2
View File
@@ -55,6 +55,7 @@ macro(do_src)
execute_process(
COMMAND ${PYTHON_ROOT}/PCbuild/amd64/python.exe
-I
-m PyQt5.uic.pyuic
-o "${output}"
"${object}"
@@ -68,6 +69,7 @@ macro(do_src)
execute_process(
COMMAND ${PYTHON_ROOT}/PCbuild/amd64/python.exe
-I
-m PyQt5.pyrcc_main
-o "${output}"
"${object}"