azure pipelines [skip travis] [skip appveyor]

This commit is contained in:
Anthony Sottile
2019-04-28 17:36:54 -07:00
parent 09e64e8ff6
commit 9c6edab726
9 changed files with 72 additions and 85 deletions

View File

@@ -109,15 +109,15 @@ def norm_version(version):
if _sys_executable_matches(version):
return sys.executable
version_exec = _find_by_py_launcher(version)
if version_exec:
return version_exec
# Try looking up by name
version_exec = find_executable(version)
if version_exec and version_exec != version:
return version_exec
version_exec = _find_by_py_launcher(version)
if version_exec:
return version_exec
# If it is in the form pythonx.x search in the default
# place on windows
if version.startswith('python'):