Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPathProvider ¶
func NewPathProvider() *pathProvider
newPathProvider returns a new pathProvider.
func Specifier ¶
func Specifier(versionInfo *pep440Version.Version) (*pep440Version.Specifiers, error)
Returns a pep440Version.Specifier.
Types ¶
type PythonExecutable ¶
type PythonExecutable struct { // Version is the parsed Python version. Version *pep440Version.Version // Path is the absolute path to the Python executable. Path string }
PythonExecutable contains information about a Python executable.
func NewPythonExecutable ¶
func NewPythonExecutable(executable string) (*PythonExecutable, error)
NewPythonExecutable creates a new PythonExecutable from a Python path.
func (*PythonExecutable) String ¶
func (v *PythonExecutable) String() string
Returns a string representation of a PythonExecutable
Click to show internal directories.
Click to hide internal directories.