[17:41:28] <pdobrogost_home> Is pip able to uninstall package installed with setuptools?
[19:23:51] <ionelmc> pdobrogost_home: if you try enough times
[19:24:36] <ionelmc> setuptools allows multiple versions of the same packge to be installed
[19:24:45] <ionelmc> but pip only uninstalls the last one
[20:10:54] <pdobrogost_home> ionelmc: Are you sure pip uninstalls the last one? And how can it uninstall any package installed by setuptools if setuptools does not record what files were installed?
[20:11:45] <ionelmc> pdobrogost_home: order may be undefined, and no idea how it works
[20:11:59] <ionelmc> afaik it's going to be deprecated
[20:12:46] <pdobrogost_home> I think order in undefined and it uninstalls only well-known files like egg, egg-link and such.
[21:33:30] <dstufft> pdobrogost_home: the answer is "sometimes"
[21:33:47] <dstufft> it depends on what specific options were used when installing it
[21:33:59] <dstufft> if it's a .egg file (zipped or unzipped) I think it works fine
[21:34:27] <dstufft> if it's a --single-version-externally-managed I think it won't do it correctly (although if it has top_level.txt I think it will, but it might also accidently remove other stuff)
[21:41:18] <pdobrogost_home> Any idea what might be the reason for problem described at http://stackoverflow.com/questions/27446231/ (http://stackoverflow.com/questions/27446231/can-i-have-my-pip-user-installed-package-be-preferred-over-system)
[21:43:41] <pdobrogost_home> Is it because setuptools puts installed packages in front of sys.path?
[21:48:32] <pdobrogost_home> Or is it because scripts generated by setuptools use pkg_resources to find package? (https://github.com/pypa/pip/issues/1018#issuecomment-33554877)