On Wed, Dec 14, 2016 at 5:32 PM, Glyph Lefkowitz <gl...@twistedmatrix.com> wrote:
> > On Dec 14, 2016, at 9:44 AM, Chris Barker <chris.bar...@noaa.gov> wrote: > > conda also has a non-framework build of Python -- not sure if that would > cause any issues with the wheels. > > > I am not up on all the technical specifics, but this suggests to me that > Conda would be generally unsuitable for use as a Mac native development > environment, and hence not a Python you'd want to use pyobjc with. > > If you don't have a framework build, you don't have an app bundle; > in the standard python.org builds, the Framework Build provides an app bundle. But having python in a Framework is completely orthogonal to the App BUndle issue. Yes, you need the executable to be in an app bundle in order to access the Window manager (and who knows what else), but again, that has nothign to do with the Framework Build. unfortunately, the build scripts only have a couple ready-to-go options, so to get the app bundle executable, you do need the Framework build. I was talking to Ned Deily about this at pyCon, and I"m pretty sure there's no good reason for a Framework build at all -- it just seemed like the Apple-y way to do it at the time, and now we have the legacy. However, conda has supplied an app bundle version, which you can install with: conda install python.app it supplies a "pythonw" script that bootstraps s python inside a app bundle and can run GUI apps -- I know it works fine with wxPython, for instance. Having to use pythonw is a kind of a pain -- and the ned for it was removed years ago in the Framework builds -- those builds leverage a small executable that bootstraps into an app bundle -- and works fine as a "regular" python interpreter as well. There's no reason we couldn't build that same executable outside a framework -- someone just need to figure out the build scripts -- which i was hoping to do last PyCon, but you can only get so much done in a 1-1/2 days of sprinting -- plus I'm no build script expert. At All. Anyway, it should be easy to see how well the new wheels work with conda -- and/or make a conda recipe -- maybe I'll get to it soon. -CHB -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG