mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
No Issue - Fix building on MacOS Big Sur. The python binary copied reports a valid signature on Big Sur and thus codesign fails. Add the -f option so it overwrites the supposedly valid signature. Other versions are either already unsigned or the install_name_tool invalidates the signature.
This commit is contained in:
@@ -1346,7 +1346,7 @@ def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, sy
|
||||
raise
|
||||
|
||||
# Resign the executable, since install_name_tool invalidates the signature
|
||||
call_subprocess(["codesign", "-s", "-", py_executable])
|
||||
call_subprocess(["codesign", "-fs", "-", py_executable])
|
||||
|
||||
if not is_win:
|
||||
# Ensure that 'python', 'pythonX' and 'pythonX.Y' all exist
|
||||
|
||||
Reference in New Issue
Block a user