@@ -95,8 +95,6 @@ def build_nsis(srcname, dstname, data):
95
95
96
96
class WinPythonDistribution (object ):
97
97
"""WinPython distribution"""
98
- THG_PATH = r'\tools\TortoiseHg\thgw.exe'
99
- WINMERGE_PATH = r'\tools\WinMerge\WinMergeU.exe'
100
98
MINGW32_PATH = r'\tools\mingw32\bin'
101
99
R_PATH = r'\tools\R\bin'
102
100
JULIA_PATH = r'\tools\Julia\bin'
@@ -149,12 +147,6 @@ def get_tool_path(relpath, checkfunc):
149
147
path = self .winpydir + relpath
150
148
if checkfunc (path ):
151
149
return path
152
- thgpath = get_tool_path (self .THG_PATH , osp .isfile )
153
- if thgpath is not None :
154
- thgver = utils .get_thg_version (osp .dirname (thgpath ))
155
- installed_tools += [('TortoiseHg' , thgver )]
156
- if get_tool_path (self .WINMERGE_PATH , osp .isfile ) is not None :
157
- installed_tools += [('WinMerge' , '2.12.4' )]
158
150
gccpath = get_tool_path (self .MINGW32_PATH , osp .isdir )
159
151
if gccpath is not None :
160
152
gccver = utils .get_gcc_version (gccpath )
@@ -253,8 +245,8 @@ def prepath(self):
253
245
def postpath (self ):
254
246
"""Return PATH contents to be append to the environment variable"""
255
247
path = []
256
- if osp .isfile (self .winpydir + self .THG_PATH ):
257
- path += [r"..\tools\TortoiseHg" ]
248
+ # if osp.isfile(self.winpydir + self.THG_PATH):
249
+ # path += [r"..\tools\TortoiseHg"]
258
250
return path
259
251
260
252
@property
@@ -575,14 +567,6 @@ def _create_launchers(self):
575
567
workdir = r'${WINPYDIR}\..\notebooks' )
576
568
# --notebook-dir=%~dp0
577
569
# workdir='${WINPYDIR}\Scripts')
578
- if osp .isfile (self .winpydir + self .THG_PATH ):
579
- self .create_launcher ('TortoiseHg.exe' , 'tortoisehg.ico' ,
580
- command = r'${WINPYDIR}\..' + self .THG_PATH ,
581
- workdir = r'${WINPYDIR}' )
582
- if osp .isfile (self .winpydir + self .WINMERGE_PATH ):
583
- self .create_launcher ('WinMergeU.exe' , 'winmerge.ico' ,
584
- command = r'${WINPYDIR}\..' + self .WINMERGE_PATH ,
585
- workdir = r'${WINPYDIR}' )
586
570
587
571
# R console launchers
588
572
r_exe = self .R_PATH + r"\i386\R.exe"
0 commit comments