> On 15 Jan 2021, at 06:24, Christopher Barker <[email protected]> wrote: > > On Thu, Jan 14, 2021 at 3:14 PM Jack Jansen <[email protected] > <mailto:[email protected]>> wrote: > For example, the brew Python is installed into a framework tucked away deep > in /usr/local/Cellar but you don’t notice this at all: you can just use > “python foo.py” and the moment the script does GUI calls it’ll get an icon in > the doc and all that. > > What problem are you trying to solve? > > It's interesting that brew python has decided to use a Framework build .... > > But the problem at hand is conda python which used a plain unix build.
Maybe they should switch to a framework build instead :-) > > They have provided a shell script "pythonw" that re-directs to a python > inside an app bundle, and that works OK on the command line, but it does not > work with, e.g. setuptools entry points. > > I could dig up the threads, but this has been discussed on this list, and few > gitHub issues. As mentioned on python-dev adding the “pythonw” functionality to the unix build is not very hard. I expect that integrating with the build system (Makefile/configure script) will be the hardest part due to introducing different behaviour for the macOS platform. > > In short, there are a few ways to work around these issues, but no one (the > conda people, the setuptools devs) wants to put the kludgy work around in > their code. > > And we already have a work around in the core python code, it's just that the > build system needs to be set up to build it outside of a Framework. The framework build does not have a workaround for these problems, it has a proper solution ;-). Ronald > > -CHB > > > > Jack > >> On 14-Jan-2021, at 23:07 , Chris Barker via Pythonmac-SIG >> <[email protected] <mailto:[email protected]>> wrote: >> >> 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 unqualified to take on. >> >> Anyone interested in helping make this happen ? >> >> -CHB >> >> >> -- >> >> Christopher Barker, Ph.D. >> Oceanographer >> >> Emergency Response Division >> NOAA/NOS/OR&R (206) 526-6959 voice >> 7600 Sand Point Way NE (206) 526-6329 fax >> Seattle, WA 98115 (206) 526-6317 main reception >> >> [email protected] >> <mailto:[email protected]>_______________________________________________ >> Pythonmac-SIG maillist - [email protected] >> <mailto:[email protected]> >> https://mail.python.org/mailman/listinfo/pythonmac-sig >> <https://mail.python.org/mailman/listinfo/pythonmac-sig> >> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG >> <https://mail.python.org/mailman/options/Pythonmac-SIG> > > -- > Jack Jansen, <[email protected] <mailto:[email protected]>>, > http://www.cwi.nl/~jack <http://www.cwi.nl/~jack> > If I can't dance I don't want to be part of your revolution -- Emma Goldman > > > > _______________________________________________ > Pythonmac-SIG maillist - [email protected] > <mailto:[email protected]> > https://mail.python.org/mailman/listinfo/pythonmac-sig > <https://mail.python.org/mailman/listinfo/pythonmac-sig> > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG > <https://mail.python.org/mailman/options/Pythonmac-SIG> > > > -- > Christopher Barker, PhD (Chris) > > Python Language Consulting > - Teaching > - Scientific Software Development > - Desktop GUI and Web Development > - wxPython, numpy, scipy, Cython > _______________________________________________ > Pythonmac-SIG maillist - [email protected] > <mailto:[email protected]> > https://mail.python.org/mailman/listinfo/pythonmac-sig > <https://mail.python.org/mailman/listinfo/pythonmac-sig> > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG > <https://mail.python.org/mailman/options/Pythonmac-SIG> — Twitter / micro.blog: @ronaldoussoren Blog: https://blog.ronaldoussoren.net/
_______________________________________________ Pythonmac-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
