Simpler check for whether a Framework Python build is being used.#11851
Simpler check for whether a Framework Python build is being used.#11851anntzer wants to merge 1 commit into
Conversation
This check works even before an NSApp is started.
|
Unfortunately, this doesnt' work w/ my Anaconda |
|
Looks like @efiring knows something about this per http://matplotlib.1069221.n5.nabble.com/Re-Anaconda-Support-OSX-why-not-make-python-invoke-the-framework-tp43793p43806.html :) |
|
Yeah, I guess anaconda does something funky. OTOH, I shudder to think what installing the framework build w/o anaconda would be like... |
|
Isn't that just (for example) python.org's python? Anyways, the discussion is not very relevant, we're stuck with whatever anaconda did and #11850 seems better unless Apple plans to actually remove their deprecated features :p |
|
Closing this, as this approach won't work unfortunately... |
This check works even before an NSApp is started.
Simpler alternative to #11850. Basically the first stackoverflow answer for the question (https://stackoverflow.com/questions/15752390/how-to-tell-if-python-instance-was-compiled-as-framework), from a CPython core dev.
PR Summary
PR Checklist