##// END OF EJS Templates
hghave: fix the definition of `python3` to work on Windows...
Matt Harbison -
r47950:94c0c362 stable
parent child Browse files
Show More
@@ -863,7 +863,10 b' def has_py3():'
863
863
864 @check("py3exe", "a Python 3.x interpreter is available")
864 @check("py3exe", "a Python 3.x interpreter is available")
865 def has_python3exe():
865 def has_python3exe():
866 return matchoutput('python3 -V', br'^Python 3.(5|6|7|8|9)')
866 py = 'python3'
867 if os.name == 'nt':
868 py = 'py -3'
869 return matchoutput('%s -V' % py, br'^Python 3.(5|6|7|8|9)')
867
870
868
871
869 @check("pure", "running with pure Python code")
872 @check("pure", "running with pure Python code")
General Comments 0
You need to be logged in to leave comments. Login now