MCPcopy Index your code
hub / github.com/celer-pkg/celer / Python

Interface Python

buildtools/python/python.go:10–14  ·  view source on GitHub ↗

Python interface defines methods for Python tools, including system Python and conda Python.

Source from the content-addressed store, hash-verified

8
9// Python interface defines methods for Python tools, including system Python and conda Python.
10type Python interface {
11 Setup() error
12 GetVersion() string
13 GetExecutable() (string, error)
14}
15
16// GetSystemPythonVersion detects the system python version.
17func GetSystemPythonVersion() string {

Callers 7

setupPythonFunction · 0.95
pip3InstallFunction · 0.65
shouldUseCondaFunction · 0.65
ConfigureMethod · 0.65
buildOptionsMethod · 0.65
msvcVersionMethod · 0.65
setupPythonFunction · 0.95

Implementers 2

CondaPythonbuildtools/python/python_conda.go
SystemPythonbuildtools/python/python_system.go

Calls

no outgoing calls

Tested by

no test coverage detected