[Distutils] [issue46] always-unzip does not always unzip

Phillip J. Eby pje at telecommunity.com
Wed Sep 17 02:44:26 CEST 2008

At 12:36 AM 9/17/2008 +0000, Greg Hazel wrote:
>New submission from Greg Hazel <ghazel at gmail.com>:
>Lots of unexpected behaviour (installed zipped, then claimed a file 
>was present
>which was not present,

A module's __file__ can include paths that are within a zipfile.

>then failed to replace the module unzipped):
> >easy_install --always-unzip pytz
>Searching for pytz
>Best match: pytz 2008c
>Processing pytz-2008c-py2.5.egg
>pytz 2008c is already the active version in easy-install.pth

--always-unzip did nothing here because the egg was already 
installed.  To reinstall an already installed package, use a file, 
directory, or URL as a target instead of a requirement name, and/or 
use the -U flag to request an upgrade.

More information about the Distutils-SIG mailing list