scripts/uninstall.py

branch
eric7
changeset 8820
149f941d072e
parent 8611
0b1a09e47e98
child 8821
0485c183b718
equal deleted inserted replaced
8819:982fb074be98 8820:149f941d072e
148 148
149 # Cleanup the install directories 149 # Cleanup the install directories
150 for name in ['ericExamplesDir', 'ericDocDir', 'ericDTDDir', 150 for name in ['ericExamplesDir', 'ericDocDir', 'ericDTDDir',
151 'ericCSSDir', 'ericIconDir', 'ericPixDir', 151 'ericCSSDir', 'ericIconDir', 'ericPixDir',
152 'ericTemplatesDir', 'ericCodeTemplatesDir', 152 'ericTemplatesDir', 'ericCodeTemplatesDir',
153 'ericOthersDir', 'ericStylesDir', 'ericDir']: 153 'ericOthersDir', 'ericStylesDir', 'ericThemesDir',
154 'ericDir']:
154 dirpath = getConfig(name) 155 dirpath = getConfig(name)
155 if os.path.exists(dirpath): 156 if os.path.exists(dirpath):
156 shutil.rmtree(dirpath, True) 157 shutil.rmtree(dirpath, True)
157 158
158 # Cleanup translations 159 # Cleanup translations

eric ide

mercurial