scripts/uninstall.py

changeset 8260
2161475d9639
parent 8254
259484b0fc75
child 8314
e3642a6a1e71
equal deleted inserted replaced
8259:2bbec88047dd 8260:2161475d9639
95 95
96 @param dname name of the directory to place the wrapper into 96 @param dname name of the directory to place the wrapper into
97 @param wfile basename (without extension) of the wrapper script 97 @param wfile basename (without extension) of the wrapper script
98 @return the names of the wrapper scripts 98 @return the names of the wrapper scripts
99 """ 99 """
100 if sys.platform.startswith(("win", "cygwin")): 100 wnames = (
101 wnames = (dname + "\\" + wfile + ".cmd", 101 (dname + "\\" + wfile + ".cmd", dname + "\\" + wfile + ".bat")
102 dname + "\\" + wfile + ".bat") 102 if sys.platform.startswith(("win", "cygwin")) else
103 else: 103 (dname + "/" + wfile, )
104 wnames = (dname + "/" + wfile, ) 104 )
105 105
106 return wnames 106 return wnames
107 107
108 108
109 def uninstallEric(): 109 def uninstallEric():

eric ide

mercurial