This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mdehoon
Recipients
Date 2004-10-29.05:26:46
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I rewrote the shell script pythonw2.4 (which usually
lives in /usr/local/bin) in C. With a link from python
to this C program, users can:
a) Run "python" to use the framework version of Python,
which exists in a valid application bundle (unlike the
current python in /usr/local/bin);
b) Use "#!/usr/local/bin/python" as the first line in
python scripts (unlike the current pythonw in
/usr/local/bin, which Mac OS X interprets to be a shell
script).
Hence, (I believe) this C program avoids the problems
with python and pythonw that are in /usr/local/bin now.
The setup in /usr/local/bin would be:

lrwxr-xr-x python -> python2.4
-rwxr-xr-x python2.4

where python2.4 is the C program calling
/Library/Frameworks/Python.framework/Versions/2.4/bin/python
with the appropriate command-line arguments.

Some modification of the C code may be needed for it to
be consistent with the Python installation process.
Note also that for the non-framework build, python2.4
can just be a link (as it is now).
History
Date User Action Args
2007-08-23 15:40:26adminlinkissue1056561 messages
2007-08-23 15:40:26admincreate