[Python-Dev] Draft PEP: "Simplified Package Layout and Partitioning"

Neal Becker ndbecker2 at gmail.com
Wed Jul 20 16:40:18 CEST 2011


I wonder if this fixes the long-standing issue in OS vendor's distributions.  In 
Fedora, for example, there is both arch-specific and non-arch directories: 
/usr/lib/python2.7 + /usr/lib64/python2.7, for example.  Pure python goes into 
/usr/lib/python2.7, and code including binaries goes into /usr/lib64/python2.7.  
But if a package has both, it all has to go into /usr/lib64/python2.7, because 
the current loader can't find pieces in 2 different directories.

You can't have both /usr/lib/python2.7/site-packages/foo and 
/usr/lib64/python2.7/site-packages/foo.

So if this PEP will allow pieces of foo to be found in 2 different places, that 
would be helpful, IMO.




More information about the Python-Dev mailing list