Documentation
¶
Overview ¶
Package common contains utilities for forming python commands and searching cipd binary for verify.
Index ¶
Constants ¶
View Source
const ( EnvVpythonArUrl = "VPYTHON_AR_URL" EnvVpythonCipdPath = "VPYTHON_CIPD_PATH" EnvVpythonCacheSalt = "_VPYTHON_CACHE_SALT" )
Environment variable definitions
View Source
const (
// Must be changed +1 to invalidate cache.
VpythonCacheSalt = "2"
)
Variables ¶
This section is empty.
Functions ¶
func CIPDCommand ¶
CIPDCommand generates a *exec.Cmd for cipd. It will lookup cipd and its wrappers depending on platforms.
func DefaultBundleDir ¶
DefaultBundleDir returns the path to the cpython bundle. On Darwin, because vpython is an app bundle, cpython is located at vpython.app/Contents/Resources. On other platforms cpython is next to the vpython binary.
func PythonVENV ¶
PythonVENV returns the python path in venv.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.