pipenv

package
v0.0.0-...-9878773 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	VersionCmd           command = "pipenv run python -V"
	ModulesCmd           command = "pipenv run pip list -v --format json"
	MetadataCmd          command = "pipenv run pip show {PACKAGE}"
	InstallRootModuleCmd command = "pipenv run pip install -e ."
)

assume pipenv will take care of python version might be python2 or python3

Variables

This section is empty.

Functions

This section is empty.

Types

type PipEnv

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

func New

func New() *PipEnv

New ...

func (*PipEnv) GetMetadata

func (m *PipEnv) GetMetadata() plugin.Metadata

Get Metadata ...

func (*PipEnv) GetPackageDetails

func (m *PipEnv) GetPackageDetails(packageNameList string) (string, error)

func (*PipEnv) GetRootModule

func (m *PipEnv) GetRootModule(path string) (*meta.Package, error)

Get Root Module ...

func (*PipEnv) GetVersion

func (m *PipEnv) GetVersion() (string, error)

Get Version ...

func (*PipEnv) HasModulesInstalled

func (m *PipEnv) HasModulesInstalled(path string) error

Has Modules Installed ...

func (*PipEnv) IsValid

func (m *PipEnv) IsValid(path string) bool

Is Valid ...

func (*PipEnv) ListModulesWithDeps

func (m *PipEnv) ListModulesWithDeps(path string, globalSettingFile string) ([]meta.Package, error)

List Modules With Deps ...

func (*PipEnv) ListUsedModules

func (m *PipEnv) ListUsedModules(path string) ([]meta.Package, error)

List Used Modules...

func (*PipEnv) LoadModuleList

func (m *PipEnv) LoadModuleList(path string) error

func (*PipEnv) PushRootModuleToVenv

func (m *PipEnv) PushRootModuleToVenv() (bool, error)

func (*PipEnv) SetRootModule

func (m *PipEnv) SetRootModule(path string) error

Set Root Module ...

Jump to

Keyboard shortcuts

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