On Thu, Feb 3, 2011 at 2:09 PM, Arve Knudsen <[email protected]> wrote: > On Thu, Feb 3, 2011 at 1:52 PM, Tarek Ziadé <[email protected]> wrote: >> >> On Thu, Feb 3, 2011 at 1:47 PM, Arve Knudsen <[email protected]> >> wrote: >> > Hi Tarek >> > Nevermind, there was a problem with the Python installation so that it >> > didn't support zlib. Reinstalling Python fixed it :) Sorry for bothering >> > you. It might be an idea to embellish distribute_setup.py though, so >> > that it >> > detects that Python can't untar the gzipped archive (due to missing zlib >> > support). That would've saved us some confusion at least :) >> > Arve >> >> Oh.. mmm I think this should even be addressed in tarfile if possible: >> if tarfile encounters a zipped archive, and zlib is not installed, it >> should not return a cryptic >> >> tarfile.ReadError: file could not be opened successfully >> >> But an error like >> >> tarfile.ReadError: archive not supported (zlib not installed) > > Of course, tarfile *should* address this. > >> >> And well, searching for this error in bugs.python.org, it looks like >> it will be addressed soon: http://bugs.python.org/issue8978 > > Nice surprise :) However, it'll only help with fixed versions of Python, no? > I figure distribute aims to support older Pythons as well.
Sure, we simply make sure zlib is installed there since Distribute is always a targz Patches are welcome :D -- Tarek Ziadé | http://ziade.org _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
