Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2022-06-13 09:12:00 +08:00
commit 22356686f9
32 changed files with 241 additions and 260 deletions

View file

@ -1345,6 +1345,9 @@ def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, sy
"have Apple's development tools installed")
raise
# Resign the executable, since install_name_tool invalidates the signature
call_subprocess(["codesign", "-s", "-", py_executable])
if not is_win:
# Ensure that 'python', 'pythonX' and 'pythonX.Y' all exist
py_exe_version_major = 'python%s' % sys.version_info[0]