[Python-Dev] Python 3 - Mac Installer?
janssen at parc.com
Fri Jan 2 22:43:22 CET 2009
Bill Janssen <janssen at parc.com> wrote:
> Martin v. Löwis <martin at v.loewis.de> wrote:
> > >> As far as I can tell the Carbon and MacOS modules are _only_ used in
> > >> the setIcon() function, which is used to give pretty icon to the
> > >> python folder. Perhaps it might be better to have a fully Python 3
> > >> build system and loose the prettiness for the time being.
> > >
> > > +1
> > -1. I think it is a good choice that build-install.py is written in
> > Python 2.x, and only relies on the system Python. For that matter,
> > it could have been a shell script. That way, you don't have to build
> > Python first in order to build it.
> Can't argue with that. But dropping the "setIcon" function and its
> associated use of Carbon and MacOS modules from that build script seems
> to me a good idea. Prepare for the future with *very* limited loss of
At the very least, we could move the imports of Carbon and MacOS into
the setIcon() function, which is called only once, and wrap a try-except
around that call.
More information about the Python-Dev