[Distutils] "Python Package Management Sucks"

Floris Bruynooghe floris.bruynooghe at gmail.com
Thu Oct 2 10:25:33 CEST 2008


On Wed, Oct 01, 2008 at 09:33:52PM -0700, Toshio Kuratomi wrote:
> Note that Debian has done a lot of neat things with python source
> recent(ish).  Josselin, Matthias, and some of the other Debian devs
> could tell us if .py files get installed to /usr/share there.

Currently the two helper tools install the .py (and .egg-info) files
somewhere into /usr/share.  One tool places the .pyc files in /usr/lib
while the other places them in /var/lib (and uses a .pth file to get
that directory on sys.path), both have symlinks to the real .py next
too the .pyc files.  This way the same .py file can be shared between
more then one version of python.


Regards
Floris

-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org


More information about the Distutils-SIG mailing list