So the standard way to install modules in Python is the Distutils way:
python setup.py install
However there is no symetric
uninstall. Simple ways to overcome this problem, more or less stylishly:1. Use easy_install
2. In a *nix-like environment, install with a record, then pass the record to a delete command:
python setup.py install --record files.txt
cat files.txt | xargs rm -rf
3. Convert the package to a native package format, then use your OS package manager capabilities:
windown:
python setup.py bdist_wininst*nix like:
python setup.py bdist_(deb|rpm)Hope that any of these works for you.
Keine Kommentare:
Kommentar veröffentlichen