pypa/pip — pull request #1912 by mitsuhiko (2014-07-01 15:48:59+00:00)
Title: Added a --target parameter to uninstall to allow uninstalling from custom folders

Essentially what it says on the tin. It adds a --target parameter that allows pip uninstall to uninstall from a specific folder instead of the site packages.

This is necessary for pips installed into a virtualenv as otherwise the virtualenv containment check prevents a deinstallation. It also is a bit safer because it will not uninstall from outside.