Skip to content

Commit

Permalink
remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
cmacdonald committed Nov 16, 2023
1 parent 41c50c5 commit 685cb57
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def compile_native_invocation_handler(java):

def check_python_signing():
import platform
print("****", sys.platform, platform.processor())
# check for mac
if sys.platform != 'darwin':
return
Expand All @@ -98,7 +97,6 @@ def check_python_signing():
['/usr/bin/codesign', '--display', '--verbose=4', '--xml', '--entitlements', '-',
sys.executable]
).decode("utf-8")
print("****", codesign)
assert "com.apple.security.cs.disable-executable-page-protection" in codesign, (
("Python (%s) was not signed with com.apple.security.cs.disable-executable-page-protection entitlement. " % sys.executable) +
"You should installed a version of Python that has been codesigned with this entitlement.")
Expand Down

0 comments on commit 685cb57

Please sign in to comment.