mirror of https://github.com/databricks/cli.git
clean up
This commit is contained in:
parent
2b89625728
commit
b50227afbe
|
@ -14,9 +14,7 @@ import (
|
||||||
// GetExecutable gets appropriate python binary name for the platform
|
// GetExecutable gets appropriate python binary name for the platform
|
||||||
func GetExecutable() string {
|
func GetExecutable() string {
|
||||||
// On Windows when virtualenv is created, the <env>/Scripts directory
|
// On Windows when virtualenv is created, the <env>/Scripts directory
|
||||||
// contains python.exe but no python3.exe. However, system python does have python3 entry
|
// contains python.exe but no python3.exe.
|
||||||
// and it is also added to PATH, so it is found first.
|
|
||||||
|
|
||||||
// Most installers (e.g. the ones from python.org) only install python.exe and not python3.exe
|
// Most installers (e.g. the ones from python.org) only install python.exe and not python3.exe
|
||||||
|
|
||||||
if runtime.GOOS == "windows" {
|
if runtime.GOOS == "windows" {
|
||||||
|
|
Loading…
Reference in New Issue