common

package
v0.0.0-...-1c50ca4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package common contains utilities for forming python commands and searching cipd binary for verify.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CIPDCommand

func CIPDCommand(arg ...string) *exec.Cmd

CIPDCommand generates a *exec.Cmd for cipd. It will lookup cipd and its wrappers depending on platforms.

func DefaultBundleDir

func DefaultBundleDir(version string) string

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 Python

func Python(path, py string) string

Python returns the python path in python installation.

func PythonVENV

func PythonVENV(path, py string) string

PythonVENV returns the python path in venv.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL