On 03/25/2014 11:42 PM, Neal Becker wrote:
I think it was clearly explained here:
https://lists.fedoraproject.org/pipermail/devel/2012-February/162518.html
I did not do the research into this explanation - it looks like others
have though. I'm just the poor victim who's systems were trashed by
this nasty bug, which causes fedora update to abort leaving you with a mess.
If it was numpy (as it appears it was), then numpy adds its *own*
hackery on top of distutils, and then also tries to detect when
setuptools is in use. There's a reason our PyCon packaging panel last
year ended up being subtitled "./setup.py install must die" :P
As Toshio notes, there's definitely value in the approach of saying
"this dir is for pip, this dir is for the system package manager".
Debian/Ubuntu does that by making the system packages install into
dist-packages instead of site-packages, but I wonder if we could so some
tweaks in site and sysconfig to instead redirect pip to /usr/local.
I'll think about that one a bit more - could be a good thing to hack on
at the PyCon US sprints next month.
Cheers,
Nick.
--
Nick Coghlan
Red Hat Hosted & Shared Services
Software Engineering & Development, Brisbane
Testing Solutions Team Lead