Re: [Pythonmac-SIG] Building against OpenGL

2022-03-22 Thread Chris Barker via Pythonmac-SIG
As usual, once you pose the question -- you find the answer. The trick was not to try to link directly, but rather to use Apple's nifty "Framework" concept: extra_link_args.append("-framework OpenGL") Posting this in case anyone else happens upon it. -CHB On Tue, Mar 22, 2022 at 12:47 PM Ch

[Pythonmac-SIG] Building against OpenGL

2022-03-22 Thread Chris Barker via Pythonmac-SIG
I have an app that uses a C (Cython) extension that needs to link against the OpenGL libs (libGL and libGLU) Here's the code that used to work: gl_libraries = ["GL", "GLU"] ... gl_include_dirs.append( "/System/Library/Frameworks/OpenGL.framework/Headers", ) gl_library_d

Re: [Pythonmac-SIG] Error with mimetype on OS-X 11 (Big Sur)

2022-01-06 Thread Chris Barker via Pythonmac-SIG
OK, I've gotten a bit farther into debugging this. Turns out it's not about that particular error, it's probably about the fact that modules couldn't be loaded at start up due to security checks in the new OS. We've signed the app but that's not fixing it :-( Starting the app at the command lin

Re: [Pythonmac-SIG] Error with mimetype on OS-X 11 (Big Sur)

2021-12-16 Thread Chris Barker via Pythonmac-SIG
hat's changed is the root for the uri it's using: 'uri': 'template://default_project.maproom' Now to figure out where / how that's set. -CHB On Thu, Dec 16, 2021 at 12:05 PM Ronald Oussoren wrote: > > > On 16 Dec 2021, at 20:21, Chris Barker via

[Pythonmac-SIG] Error with mimetype on OS-X 11 (Big Sur)

2021-12-16 Thread Chris Barker via Pythonmac-SIG
I've just got a new mac with OS-X 11.6 (still Intel). But when I try to run a PyInstaller built application, I get this error: No document available for {'mime': 'application/x-maproom-project-zip', 'loader': , 'uri': 'template://default_project.maproom'} And the app won't start. This has worke

[Pythonmac-SIG] "pythonw" in a Unix build

2021-01-14 Thread Chris Barker via Pythonmac-SIG
Ned suggested I bring this conversation over here from python-dev, so here it is. What I'd like to see done is have the "pythonw" wrapper buildable in an otherwise non-framework build. I *think* there are no real technical show stoppers, but it would take some auto-conf magic, which I am fully un