How can I uninstall a python package installed with python setup.py install?
Is there a formal documented way?
I have found a method of doing it, but I find it difficult to believe the ability to uninstall is not formally supported.
When you install - python setup.py install --record files.txt
when you uninstall - cat files.txt | xargs rm -rf
This will, however, require the user to look through files.txt like a hawk. It is really not an ideal situation I would think.
You are correct that distutils does not support uninstall. If you have a choice, you should use rpms (or deb) which do.
|All times are GMT -5. The time now is 08:06 AM.|