[Python-Dev] Python 3 - Mac Installer? (original) (raw)
Bill Janssen janssen at parc.com
Fri Jan 2 22:43:22 CET 2009
- Previous message: [Python-Dev] Python 3 - Mac Installer?
- Next message: [Python-Dev] Python 3 - Mac Installer?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 functionality.
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.
Bill
- Previous message: [Python-Dev] Python 3 - Mac Installer?
- Next message: [Python-Dev] Python 3 - Mac Installer?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]