Versions in this module Expand all Collapse all v0 v0.2.0 Nov 20, 2024 Changes in this version + func GeneratePythonEnv(pythonHome, pythonPath string) map[string]string + func GetDepsDir(projectPath string) string + func GetEnvConfigPath(projectPath string) string + func GetGoBinDir(projectPath string) string + func GetGoCacheDir(projectPath string) string + func GetGoDir(projectPath string) string + func GetGoPath(projectPath string) string + func GetGoRoot(projectPath string) string + func GetMingwDir(projectPath string) string + func GetMingwRoot(projectPath string) string + func GetPythonBinDir(projectPath string) string + func GetPythonLibDir(projectPath string) string + func GetPythonPkgConfigDir(projectPath string) string + func GetPythonRoot(projectPath string) string + func GetTinyPkgConfigDir(projectPath string) string + func ReadEnv(projectDir string) (map[string]string, error) + func ReadEnvFile(projectDir string) (map[string]string, error) + func SetBuildEnv(projectPath string) + func WriteEnvFile(projectPath, pythonHome, pythonPath string) error + type PythonEnv struct + Root string + func NewPythonEnv(pythonHome string) *PythonEnv + func (e *PythonEnv) GetPythonPath() (string, error) + func (e *PythonEnv) Python() (string, error) + func (e *PythonEnv) RunPip(args ...string) error + func (e *PythonEnv) RunPython(args ...string) (string, error) + func (e *PythonEnv) RunPythonWithOutput(writer io.Writer, args ...string) error