Re: [Python-Dev] Alternative to -z option

2007-07-13 Thread Paul Moore
On 13/07/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > After thinking about it some more, I suggest that instead of using a > special option to execute a zipfile, we simply always get an importer > for the script filename. If the importer is imp.NullImporter, then > we do normal script processin

[Python-Dev] Alternative to -z option

2007-07-13 Thread Phillip J. Eby
After thinking about it some more, I suggest that instead of using a special option to execute a zipfile, we simply always get an importer for the script filename. If the importer is imp.NullImporter, then we do normal script processing. Otherwise, we set set sys.path[0] = sys.argv[0] = scrip