as stated in it's docs, pip doesn't support uninstalling pure distutils distributions installed with python setup.py install
python setup.py install
but if you do attempt to uninstall one using pip, it will prompt you to remove the distutils egg-info file like so.
$ py32/bin/pip uninstall lupyne
pip shouldn't do this, and could probably offer a message that removing such a package is not supported.
pip is conflating egg-info files with egg-info dirs in the uninstall code, and some of the vars are named in a way that promotes confusion.
pip_egg_info_path = os.path.join(dist.location, dist.egg_name()) + '.egg-info'
that can be a file or a dir. if it's a file, it's not pip's *.egg-info path.
- Fixed issue 645: Don't allow distributions installed by bare distut…
be uninstalled via ``pip uninstall``. Instead, now, the process will exit
with an error if you attempt to uninstall a package installed via
Fixes issue #645.
What's the status of this?
#667 stalled with some travis/debian issues.
should be easy to overcome though.
feel free to reuse the work in that and submit a new pull.