James Y Knight wrote: > On Jul 21, 2009, at 7:38 PM, David Lyon wrote: >> When I go into python on ubuntu I see there is /usr/local/pythonX.X/lib/ >> site-packages and I'm wondering why the hubba setuptools/distutils >> doesn't put packages there by default. That would solve a lot of >> problems. >> >> Just leave /usr/lib/pythonX.X//lib/site-packages to the O/S. > > Uh guys, I'm not sure if anyone here noticed, but Debian and Ubuntu have > switched to install their distribution-supplied python libraries into: > /usr/lib/pythonX.Y/lib/dist-packages > and distutils by default will install into > /usr/local/lib/pythonX.Y/dist-packages > > starting with python 2.6. > > See: > http://lists.debian.org/debian-devel/2009/02/msg00431.html > > Since that email says "Discussed this with Barry Warsaw and Martin v. > Loewis", I'd assume this change would be more widely known in the > distutils/python-dev community, but apparently not??
Debian has a long history of doing this different, so it's not much of a surprise. They also apply such changes to Python packages. However, all of this is non-standard and will cause problems with tools that rely on the standard site-packages/ location. Such changes should be discouraged. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Jul 22 2009) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com