Skip to content

How to remove files installed by "setup.py install"

Bryan Fu edited this page Nov 3, 2016 · 1 revision
  • To record list of installed files, you can use:

    python setup.py install --record files.txt
    
  • Once you want to uninstall you can use xargs to do the removal:

    cat files.txt | xargs rm -rf
    
Clone this wiki locally