Documentation
¶
Index ¶
- Constants
- type PipEnv
- func (m *PipEnv) GetMetadata() plugin.Metadata
- func (m *PipEnv) GetPackageDetails(packageNameList string) (string, error)
- func (m *PipEnv) GetRootModule(path string) (*meta.Package, error)
- func (m *PipEnv) GetVersion() (string, error)
- func (m *PipEnv) HasModulesInstalled(path string) error
- func (m *PipEnv) IsValid(path string) bool
- func (m *PipEnv) ListModulesWithDeps(path string, globalSettingFile string) ([]meta.Package, error)
- func (m *PipEnv) ListUsedModules(path string) ([]meta.Package, error)
- func (m *PipEnv) LoadModuleList(path string) error
- func (m *PipEnv) PushRootModuleToVenv() (bool, error)
- func (m *PipEnv) SetRootModule(path string) error
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 (*PipEnv) GetPackageDetails ¶
func (*PipEnv) GetRootModule ¶
Get Root Module ...
func (*PipEnv) HasModulesInstalled ¶
Has Modules Installed ...
func (*PipEnv) ListModulesWithDeps ¶
List Modules With Deps ...
func (*PipEnv) ListUsedModules ¶
List Used Modules...
func (*PipEnv) LoadModuleList ¶
func (*PipEnv) PushRootModuleToVenv ¶
func (*PipEnv) SetRootModule ¶
Set Root Module ...
Click to show internal directories.
Click to hide internal directories.