[Distutils] PEP 376 for Distutils

Tarek Ziadé ziade.tarek at gmail.com
Wed Feb 25 12:48:48 CET 2009

2009/2/25 Joachim König <him at online.de>:
> Tarek Ziadé wrote:
>> ok so far, from the whole dicussion it seems that everyone agrees that
>> the Python version is superfluous
>> in the .egg-info files, so I'll update the PEP for this point.
>> I'll also start to write more details about uninstallation
> As P.J.Eby pointed out the importance of PEP 262, could all the egg-info directories be also
> put into a subdirectory called "install-db" as described in that PEP. As proposed by P.J.Eby
> in PEP262 under "open issues", there could/should be one of these for each directory
> where packages are installed.
> So to repeat the initial example for zlib, it should look like this:
> zlib/
> install_db/
>    zlib-2.5.2.egg-info/
>       PKG-INFO
>       MANIFEST
>       RECORD
> The name of the "install_db" directory would not be that important, e.g. it could e.g. be called "egg-info" and
> the ".egg-info" extension from the zlib egg-info directory name could be stripped, making the parsing of the listdir() call
> even faster 8-)

Let's call it "install-db" then, like suggested in PEP 262 : this will
ensure that it cannot be a package/module name
because of the "-".

I doubt anyone is calling a module or a package install_db out there
but it's safer that way


More information about the Distutils-SIG mailing list