19

Closed

Implement zipimport module

description

See also http://lists.ironpython.com/pipermail/users-ironpython.com/2006-June/002457.html
 
PEP 273 gives the initial specification.
http://www.python.org/dev/peps/pep-0273
 
Python library reference gives the documentation of the current implementation.
http://docs.python.org/lib/module-zipimport.html
Closed Mar 10, 2012 at 7:51 AM by jdhardy
Released in IronPython 2.7.2

comments

wrote Jun 24, 2006 at 12:28 AM

We are locking down on V1, and we will not be able to get to this in V1. We will revisit this later. Thanks for the report.

primco wrote Mar 12, 2007 at 8:13 AM

the file test_zipimport.py in the standard CPython distribution may help test compaitibilityhttp://www.koders.com/python/fidE7FE7D6953FB6F810BA56C90C8D0930FDE6BC783.aspx

wrote Sep 14, 2007 at 10:48 PM

Requires zlib

fuzzyman wrote Nov 15, 2008 at 5:16 PM

zipimport is needed for setuptools - which is needed for projects like Turbogears. Setuptools is increasingly becoming the standard way of distributing Python packages - so not being able to use it with IronPython is quite a problem (Jython guys have got setuptools compatibility ;-)

fuzzyman wrote Nov 18, 2008 at 12:14 PM

@primco

The test version of zipimport uses importlib and so is not that helpful. More helpful is the pure Python version that Guido implemented for the AppEngine.

http://code.google.com/p/googleappengine/issues/detail?id=161#c27

Missing is directory metadata cache support that setuptools needs, but that should be trivial to add.

It looks like zlib support is also needed for setuptools.

slide_o_mix wrote Dec 20, 2011 at 4:20 PM

jdhardy wrote Dec 21, 2011 at 5:11 AM

Fixed in 9c479d1/1d6ffca.