Re: ctypes, codesigning, notarizing, py2app?

Just van Rossum <[email protected]> Sat, 15 Feb 2020 08:17:05 +0100
Newsgroups gmane.comp.python.apple
Message-ID <[email protected]>
I’ve found a solution. Adding the following entitlement during codesigning allows me to use ctypes:

   com.apple.security.cs.disable-executable-page-protection

That is a big relief.

Just

> On 14 Feb 2020, at 21:46, Just van Rossum <[email protected]> wrote:
> 
> Hello,
> 
> I’m trying to codesign and notarize my application, and thanks to the following thread I’m getting closer:
> 
> https://mail.python.org/pipermail/pythonmac-sig/2018-October/024341.html
> 
> However, I’m stuck there, since my app _does_ require ctypes.
> 
> Is there currently a way to use ctypes in a py2app-built application, and have it codesigned and notarized? I’m afraid the answer may be “no”, if I read the thread correctly...
> 
> Thanks for any clues,
> 
> Just
> 

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG