[Distutils] pyz VS zip

Darrell darrell@dorb.com
Mon, 2 Aug 1999 00:12:40 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_00C3_01BEDC7B.BC1A2230
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Warning, new comer at large.

I've been playing with Gordon's win32 installer and really
like the idea of the .pyz to wrap things up. I've been doing
the same thing with zlib to create .pyc files. I send them=20
too other people I work with. They execute the .pyc which
explodes on their disk. It runs a setup.py file and handles
platform details.

Archives are real handy and zip is a pretty standard one.
So wouldn't zip compatibility be good. It seems that=20
understanding the header format for zip along with zlib
might let you decode a zip.

There's a bunch of zip info at:
http://www.cdrom.com/pub/infozip/Info-ZIP.html

And an unzip.dll that could be used if decoding the header
was too much pain.

Has anyone tried to work with zips from python ?

--Darrell


------=_NextPart_000_00C3_01BEDC7B.BC1A2230
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DCourier size=3D2>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2>Warning, new comer at large.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>I've been playing with Gordon's win32 installer and really</DIV>
<DIV>like the idea of the .pyz to wrap things up. I've been doing</DIV>
<DIV>the same thing with zlib to create .pyc files. I send them </DIV>
<DIV>too other people I work with. They execute the .pyc which</DIV>
<DIV>explodes on their disk. It runs a setup.py file and handles</DIV>
<DIV>platform details.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Archives are real handy and zip is a pretty standard one.</DIV>
<DIV>So wouldn't&nbsp;zip compatibility be good. <FONT size=3D2>It seems =
that=20
</FONT></DIV>
<DIV><FONT size=3D2>understanding the header format for zip along with=20
zlib</FONT></DIV>
<DIV>might let you decode a zip.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>There's a bunch of zip info at:</FONT></DIV>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2>
<DIV><A=20
href=3D"http://www.cdrom.com/pub/infozip/Info-ZIP.html">http://www.cdrom.=
com/pub/infozip/Info-ZIP.html</A></DIV></FONT></DIV></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>And an unzip.dll that could be used if decoding the=20
header</FONT></DIV>
<DIV>was too much pain.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Has anyone tried to work with zips from python =
?</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV>--Darrell</DIV></FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_00C3_01BEDC7B.BC1A2230--