Closed lofidevops closed 10 years ago
FYI I am installing this way because pep8radius is not in the Ubuntu repos (yet) so I can't do a system install. Additionally sudo pip install
is discouraged (and has the same error on uninstall/upgrade).
Thanks for reporting this.
I'll have a play with my ubuntu machine this evening and see if I can reproduce (I can't on my mac but that's using conda which no doubt also has an effect) and +1 for encouraging user installs.
I wonder if this is something incorrect/missing in setup.py, would you mind testing this install/uninstall with autopep8
? (Since my setup.py was originally a copy and paste from there!) I had a quick google and looked at youtube-dl's setup.py and MANIFEST.in, and nothing jumped out :(
Perhaps it's this pip bug for non-wheeled packages on debian?
https://github.com/pypa/pip/issues/1962 https://github.com/pypa/pip/issues/1895
The workaround is for pep8radius to publish a wheel, which is probably a good idea anyway.
@kwill I backported a wheel for v0.9.1 to pypi, please have try again and see if that fixes this, thanks! https://pypi.python.org/pypi/pep8radius https://github.com/hayd/pep8radius/commit/c3b76efcac5e26df35a7e687a6a9597bddf3fb23
I will let you know as soon as I have a chance to test (unless someone else gets there first :)
It works! (Dependencies remain, but I presume that's a pip thing.) Many thanks.
Great! Thanks again for filing the bug report.
ps. FWIW this means it's a debian bug, something about pip & virtualenv, see bug report in the above issue https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751827.
Steps to reproduce:
pip install --user pep8radius
pip uninstall pep8radius
What should happen:
pep8radius is installed then uninstalled.
What happens instead:
pep8radius is installed. When attempting uninstallation:
Can't uninstall 'pep8radius'. No files were found to uninstall.
Notes:
Workaround:
Manually delete files listed in .local/lib/python2.7/site-packages/pep8radius-0.9.1-py2.7.egg-info/installed-files.txt