[19:41:42] <qwcode> I'd like to find a single doc that explains the why behind debian's schemes and dist-packages stuff. barryW posted something recently, but it wasn't enough for me to confidently use it for the PyPUG
[19:43:12] <dstufft> the schemes are because they want apt-get installed stuff to go into /usr/lib/pythonX.Y/dist-packages and pip/easy_install/setup.py install-d stuff to go into /usr/local/lib/pythonX.Y/dist-packages
[19:43:56] <ionelmc> pffft... like you'd use those outdated packages from apt ...
[19:44:14] <dstufft> dist-packages vs site-packages is because they want to make it so that you can have an apt-get installed python installed alongside a custom compiled Python
[19:44:20] <qwcode> dstufft, I though it was more than that though... I'd need to go find what he wrote again
[19:45:15] <dstufft> if you installed Python 2.7 that you compiled yourself alongside 2.7 that comes with ubuntu, you'd install your python 2.7 into /usr/local, but both your custom isntalled python and the apt-get installed python would be looking at /usr/local/lib/pythonX.Y/site-packages if they didn't do dist-packages
[19:45:29] <dstufft> qwcode: I don't think it's more than that, but I could be wrong :D
[19:46:06] <qwcode> dstufft, ok, your second comment, was what he wrote about....
[19:46:42] <dstufft> yea it's two different issues (dist-packages vs the schemes) but the dist-packages is a side effect of the schemes
[19:47:16] <dstufft> since if they didn't have the schemes pip would just install into /usr/lib/pythonX.Y/ and there'd be no overlap in /usr/local/lib/pythonX.Y
[19:47:31] <ionelmc> can i force pip to not use the "local" thing somehow?
[19:49:33] <qwcode> ionelmc, why though? why not just go with what it gives you?
[19:50:17] <ionelmc> qwcode: i wanna see if there's a way to avoid symlinks
[19:50:29] <dstufft> qwcode: I'm guessing ionelmc is working on the virtualenv rewrite which doesn't currently have the symlink hack that makes it work
[19:51:06] <dstufft> I actually thought that debian had contiionals in place so that their things only happened otuside of virtual environments
[19:51:11] <dstufft> maybe I'm wrong about that though
[19:51:43] <ionelmc> dstufft: how would they know if it's a virtualenv or not
[19:52:18] <dstufft> ionelmc: the same way everyone else does, ``if hasattr(sys, "real_prefix") or getattr(sys, "base_prefix", sys.prefix) != sys.prefix):
[19:53:09] <ionelmc> dstufft: where would they have this handling?
[19:53:12] <qwcode> well, virtualenv has monkeypatches to alter things... maybe that once worked, but stopped? getting a headache...
[19:53:32] <dstufft> qwcode: that headache is part of why the rewrite exists :D
[19:53:59] <dstufft> ionelmc: umm, I don't remember offhand, you'd have to go look at debian/patches in python2.7 or python3.4 (or both!) and see what their patches are doing
[19:54:15] <dstufft> ionelmc: I'm doing regular work stuff currently so I can't look real close ATM