@@ -95,7 +95,6 @@ def build_nsis(srcname, dstname, data):
9595
9696class WinPythonDistribution (object ):
9797 """WinPython distribution"""
98- THG_PATH = r'\tools\TortoiseHg\thgw.exe'
9998 MINGW32_PATH = r'\tools\mingw32\bin'
10099 R_PATH = r'\tools\R\bin'
101100 JULIA_PATH = r'\tools\Julia\bin'
@@ -148,10 +147,6 @@ def get_tool_path(relpath, checkfunc):
148147 path = self .winpydir + relpath
149148 if checkfunc (path ):
150149 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 )]
155150 gccpath = get_tool_path (self .MINGW32_PATH , osp .isdir )
156151 if gccpath is not None :
157152 gccver = utils .get_gcc_version (gccpath )
@@ -250,8 +245,8 @@ def prepath(self):
250245 def postpath (self ):
251246 """Return PATH contents to be append to the environment variable"""
252247 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"]
255250 return path
256251
257252 @property
@@ -572,10 +567,6 @@ def _create_launchers(self):
572567 workdir = r'${WINPYDIR}\..\notebooks' )
573568 # --notebook-dir=%~dp0
574569 # 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}' )
579570
580571 # R console launchers
581572 r_exe = self .R_PATH + r"\i386\R.exe"
0 commit comments