<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">'\n'</span> <span class="s1">'\0'</span> < 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>