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 loewis
Recipients
Date 2007-07-12.05:34:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I don't see the need for that on Linux: you can do the same thing already with a shell script.
In the example below, foo.zip contains foo.py.

martin@mira:~$ cat runzip.sh
#!/bin/sh
export PYTHONPATH=$0
exec python -c 'import foo;foo.main()'
# THE END

martin@mira:~$ cat runzip.sh foo.zip >bar
martin@mira:~$ chmod +x bar.zip
martin@mira:~$ ./bar
hello

So unless that adds a functionality that I'm missing, I'm -1 on this patch.
History
Date User Action Args
2007-08-23 15:58:48adminlinkissue1739468 messages
2007-08-23 15:58:48admincreate