uninstall.py

changeset 107
918a6be6f051
parent 15
f6ccc31d6e72
child 146
afeb742e7148
--- a/uninstall.py	Sun Feb 07 13:42:06 2010 +0000
+++ b/uninstall.py	Sun Feb 07 14:18:01 2010 +0000
@@ -80,11 +80,11 @@
         if os.path.exists(rwname):
             os.remove(rwname)
     
-    # Cleanup our config file
-    for name in ['eric5config.py', 'eric5config.pyc']:
-        e4cfile = os.path.join(pyModDir, name)
-        if os.path.exists(e4cfile):
-            os.remove(e4cfile)
+    # Cleanup our config file(s)
+    for name in ['eric5config.py', 'eric5config.pyc', 'eric5.pth']:
+        e5cfile = os.path.join(pyModDir, name)
+        if os.path.exists(e5cfile):
+            os.remove(e5cfile)
     
     # Cleanup the install directories
     for name in ['ericExamplesDir', 'ericDocDir', 'ericDTDDir', 'ericCSSDir',

eric ide

mercurial