helpers

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VirtualenvName

func VirtualenvName(proj *project.Project, version string) string

Types

type PyEnv

type PyEnv struct {
	// contains filtered or unexported fields
}

func NewPyEnv

func NewPyEnv(cfg *config.Config, proj *project.Project) *PyEnv

func (*PyEnv) VersionInstalled

func (p *PyEnv) VersionInstalled(version string) (installed bool, err error)

func (*PyEnv) Which

func (p *PyEnv) Which(version string, command string) string

type Virtualenv

type Virtualenv struct {
	// contains filtered or unexported fields
}

func NewVirtualenv

func NewVirtualenv(cfg *config.Config, name string) *Virtualenv

func (*Virtualenv) BinPath

func (v *Virtualenv) BinPath() string

func (*Virtualenv) Exists

func (v *Virtualenv) Exists() bool

func (*Virtualenv) Path

func (v *Virtualenv) Path() string

func (*Virtualenv) Which added in v0.0.7

func (v *Virtualenv) Which(cmd string) string

Jump to

Keyboard shortcuts

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