@@ -95,7 +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
98
MINGW32_PATH = r'\tools\mingw32\bin'
100
99
R_PATH = r'\tools\R\bin'
101
100
JULIA_PATH = r'\tools\Julia\bin'
@@ -148,10 +147,6 @@ def get_tool_path(relpath, checkfunc):
148
147
path = self .winpydir + relpath
149
148
if checkfunc (path ):
150
149
return path
151
- thgpath = get_tool_path (self .THG_PATH , osp .isfile )
152
- if thgpath is not None :
153
- thgver = utils .get_thg_version (osp .dirname (thgpath ))
154
- installed_tools += [('TortoiseHg' , thgver )]
155
150
gccpath = get_tool_path (self .MINGW32_PATH , osp .isdir )
156
151
if gccpath is not None :
157
152
gccver = utils .get_gcc_version (gccpath )
@@ -250,8 +245,8 @@ def prepath(self):
250
245
def postpath (self ):
251
246
"""Return PATH contents to be append to the environment variable"""
252
247
path = []
253
- if osp .isfile (self .winpydir + self .THG_PATH ):
254
- path += [r"..\tools\TortoiseHg" ]
248
+ # if osp.isfile(self.winpydir + self.THG_PATH):
249
+ # path += [r"..\tools\TortoiseHg"]
255
250
return path
256
251
257
252
@property
@@ -572,10 +567,6 @@ def _create_launchers(self):
572
567
workdir = r'${WINPYDIR}\..\notebooks' )
573
568
# --notebook-dir=%~dp0
574
569
# workdir='${WINPYDIR}\Scripts')
575
- if osp .isfile (self .winpydir + self .THG_PATH ):
576
- self .create_launcher ('TortoiseHg.exe' , 'tortoisehg.ico' ,
577
- command = r'${WINPYDIR}\..' + self .THG_PATH ,
578
- workdir = r'${WINPYDIR}' )
579
570
580
571
# R console launchers
581
572
r_exe = self .R_PATH + r"\i386\R.exe"
0 commit comments