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

Greg Hazel setuptools at bugs.python.org
Wed Sep 17 02:36:32 CEST 2008


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, then failed to replace the module unzipped):


>easy_install pytz
Searching for pytz
Reading http://pypi.python.org/simple/pytz/
Reading http://pytz.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?group_id=79122
Reading http://www.stuartbishop.net/Software/pytz
Reading http://sourceforge.net/projects/pytz/
Best match: pytz 2008c
Downloading http://pypi.python.org/packages/2.5/p/pytz/pytz-2008c-
py2.5.egg#md5=8fb5f0dcab343ceb497c40138fa8d6c7
Processing pytz-2008c-py2.5.egg
Moving pytz-2008c-py2.5.egg to c:\python25\lib\site-packages
Adding pytz 2008c to easy-install.pth file

Installed c:\python25\lib\site-packages\pytz-2008c-py2.5.egg
Processing dependencies for pytz
Finished processing dependencies for pytz


>python
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytz
>>> print pytz.__file__
c:\python25\lib\site-packages\pytz-2008c-py2.5.egg\pytz\__init__.py
>>> ^Z


>cat c:\python25\lib\site-packages\pytz-2008c-py2.5.egg\pytz\__init__.py
cat: c:\python25\lib\site-packages\pytz-2008c-py2.5.egg\pytz\__init__.py: No 
such file or directory


>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

Using c:\python25\lib\site-packages\pytz-2008c-py2.5.egg
Processing dependencies for pytz
Finished processing dependencies for pytz


>cat c:\python25\lib\site-packages\pytz-2008c-py2.5.egg\pytz\__init__.py
cat: c:\python25\lib\site-packages\pytz-2008c-py2.5.egg\pytz\__init__.py: No 
such file or directory

----------
messages: 171
nosy: ghazel
priority: bug
status: unread
title: always-unzip does not always unzip

_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue46>
_______________________________________________


More information about the Distutils-SIG mailing list