[Distutils] PEP: Improving Python ZIP Application Support

Philippe Ombredanne pombredanne at nexb.com
Tue Apr 2 02:20:26 CEST 2013


On Tue, Apr 2, 2013 at 12:40 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On Tue, Apr 2, 2013 at 6:12 AM, M.-A. Lemburg <mal at egenix.com> wrote:
>> c) The feature has never really been documented outside the ticket
>> where it got added to Python :-)
> Not true, it's covered in the command line docs at
> http://docs.python.org/2/using/cmdline.html#interface-options
The doc has a bug BTW:
 "Changed in version 2.5: Directories and zipfiles containing a
__main__.py file at the top level are now considered valid Python
scripts."
I tested it and this does not work in Pythin 2.5, only in 2.6

-- 
Philippe Ombredanne

+1 650 799 0949 | pombredanne at nexB.com
DejaCode Enterprise at http://www.dejacode.com
nexB Inc. at http://www.nexb.com


More information about the Distutils-SIG mailing list