[egenix-users] pyrunning zip files

Paul A. Giannaros paul at giannaros.org
Tue Mar 5 18:45:03 CET 2013

CPython >= 2.6 lets you run a script __main__.py within a zip archive
foo.zip with:

    $ python foo.zip

This doesn't work with pyrun:

    $ pyrun foo.zip
    SyntaxError: Non-ASCII character '\xf1' in file foo.zip on line 2,
but no encoding declared; see http://www.python.org/peps/pep-0263.html
for details

It's a useful feature (it's how we deploy code in the company that I
work). Would you please consider adding it?

Thanks, Paul

More information about the egenix-users mailing list