Documentation
¶
Index ¶
Constants ¶
View Source
const ( // BypassENV is an environment variable that is used to detect if we shouldn't // do any vpython stuff at all, but should instead directly invoke the next // `python` on PATH. BypassENV = "VPYTHON_BYPASS" // BypassSentinel must be the BypassENV value (verbatim) in order to trigger // vpython bypass. BypassSentinel = "manually managed python not supported by chrome operations" )
Variables ¶
This section is empty.
Functions ¶
func Main ¶
func Main(python3only bool)
Main implements the vpython binary.
If `python3only` is false, this will inspect argv[0] to determine if the current process "looks like" a python3 invocation and set defaults accordingly. Otherwise this will always have python3 behavior.
The argv[0] inspection is for backwards compatibility with original `vpython` deployments which symlinked `vpython3` to the actual `vpython` binary.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
Package vpython implements the vpython tool and associated libraries.
|
Package vpython implements the vpython tool and associated libraries. |
api/vpython
Package vpython contains `vpython` environment definition protobufs.
|
Package vpython contains `vpython` environment definition protobufs. |
application/internal/prober
Package prober exports Probe, which implements logic to identify a wrapper's wrapped target.
|
Package prober exports Probe, which implements logic to identify a wrapper's wrapped target. |
venv/assets
Package assets is generated by go.chromium.org/luci/tools/cmd/assets.
|
Package assets is generated by go.chromium.org/luci/tools/cmd/assets. |
Click to show internal directories.
Click to hide internal directories.