remove unused file
[iankelling.org] / _site / technical-notes / setup.py-uninstall.html
index 5c870181e3cf91d4bb39c812d0e7ba1a9c668fa9..625f01ee4f381dbd2995e77976841ecbcde5c152 100644 (file)
 <h2 id="unix-like">Unix-like</h2>
 
 <p>Install over the existing installation with the same sources, recording installed files, then delete them.</p>
-<div class="highlight"><pre>sudo python setup.py install --record files.txt
+<div class="highlight"><pre><span></span>sudo python setup.py install --record files.txt
 <span class="c1"># inspect files.txt to make sure it looks ok. Then in bash:</span>
 tr <span class="s1">&#39;\n&#39;</span> <span class="s1">&#39;\0&#39;</span> &lt; files.txt <span class="p">|</span> xargs -0 sudo rm -f --
 </pre></div>
 <h2 id="windows">Windows</h2>
 
 <p>Install on top of the existing installation with a windows installer, then add-remove programs to uninstall.</p>
-<div class="highlight"><pre>python setup.py bdist_wininst
+<div class="highlight"><pre><span></span>python setup.py bdist_wininst
 dist/foo-1.0.win32.exe
 </pre></div>
 <h2 id="use-other-methods-which-fully-support-uninstall-when-available">Use other methods which fully support uninstall when available</h2>