[Distutils] PEP 376 for Distutils

Joachim König him at online.de
Tue Feb 24 16:29:21 CET 2009


P.J. Eby schrieb:
> At 09:39 AM 2/24/2009 +0100, Joachim König wrote:
>> could the egg-info directory be put somewhere else (as a 
>> configuration/command line option)?
>
> No, since it's used to identify the installed location of the code 
> that goes with it, ala PEP 262.  In other words, sys.path is its own 
> installation database.
But PEP262 suggests <prefix>/lib/python<version>/install-db/ for the 
location and the
open issues there state (among other things):

> PJE suggests the installation database "be potentially present on
>     every directory in sys.path, 
So PEP262 implies to me that we either would have one
"install-db/" directory on "<prefix>/lib/python<version>/" or one on 
each directory
of sys.path, e.g. also one on "site-packages". This would really solve my
problem, having only one entry more per directory of sys.path instead
of having one directory per packages at the locations I generally look 
for the code.



More information about the Distutils-SIG mailing list