uninstall.py

changeset 4559
5af0cda900b3
parent 4021
195a471c327b
child 4561
5bc6ed226471
equal deleted inserted replaced
4556:25d1fa006bf0 4559:5af0cda900b3
190 os.path.join(macAppBundlePath, 190 os.path.join(macAppBundlePath,
191 macAppBundleName), 191 macAppBundleName),
192 ]: 192 ]:
193 if os.path.exists(bundlePath): 193 if os.path.exists(bundlePath):
194 shutil.rmtree(bundlePath) 194 shutil.rmtree(bundlePath)
195
196 # TODO: ask to delete all plug-ins
197 # TODO: ask to delete configuration
198 print("\nUninstallation completed")
195 except (IOError, OSError) as msg: 199 except (IOError, OSError) as msg:
196 sys.stderr.write( 200 sys.stderr.write(
197 'Error: {0}\nTry uninstall with admin rights.\n'.format(msg)) 201 'Error: {0}\nTry uninstall with admin rights.\n'.format(msg))
198 exit(7) 202 exit(7)
199 203

eric ide

mercurial