File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1743,9 +1743,6 @@ def needs_compilation(self):
1743
1743
# Specifies the target path where this tool will be installed to. This could
1744
1744
# either be a directory or a filename (e.g. in case of node.js)
1745
1745
def installation_path (self ):
1746
- if WINDOWS and hasattr (self , 'windows_install_path' ):
1747
- pth = self .expand_vars (self .windows_install_path )
1748
- return sdk_path (pth )
1749
1746
if hasattr (self , 'install_path' ):
1750
1747
pth = self .expand_vars (self .install_path )
1751
1748
return sdk_path (pth )
@@ -1804,7 +1801,7 @@ def compatible_with_this_os(self):
1804
1801
if LINUX and hasattr (self , 'linux_url' ) and self .compatible_with_this_arch ():
1805
1802
return True
1806
1803
1807
- if WINDOWS and ( hasattr (self , 'windows_url' ) or hasattr ( self , 'windows_install_path' ) ) and self .compatible_with_this_arch ():
1804
+ if WINDOWS and hasattr (self , 'windows_url' ) and self .compatible_with_this_arch ():
1808
1805
return True
1809
1806
1810
1807
if UNIX and hasattr (self , 'unix_url' ):
You can’t perform that action at this time.
0 commit comments