Re: [Pyobjc-dev] Re: [Pyobjc-checkins] CVS: pyobjc/Examples/TableModel2 main.m,1.4,1.5
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2002-11-23 06:10:11
|
On Saturday, Nov 23, 2002, at 00:10 Europe/Amsterdam, Just van Rossum wrote: > Jack Jansen wrote: > >> On vrijdag, nov 22, 2002, at 22:05 Europe/Amsterdam, Ronald Oussoren >> wrote: >>> Sounds good, but how are you going to deal with moving the .app >>> bundle >>> when not using /usr/bin/python? '#!../Resources/python-interpreter' >>> probably won't work. >> >> Don't even bother trying it: I did, and it doesn't:-) >> >> What we would need is a standard unix tool that we can give 1 argument >> and that would execute a mangled version of argv[0]. I don't think >> such >> a tool exists:-) > > What are you guys on about? The execve wrapper is run as > #!/usr/bin/env python > (which will usually be /usr/bin/python) and the rest is taken from > there. Am I > missing something? MacOSX 10.1 isn't shipped with a python interpreter. Not that this should keep us from using a python-based main by default. Ronald |