Documentation ¶
Index ¶
- func GetDepTreeScriptPath() (string, error)
- func GetPipenvDependenciesGraph(venvDir string) (map[string][]string, []string, error)
- func GetPipenvDependenciesList(venvDir string) (map[string][]string, []string, error)
- func GetPipenvVenv() (string, error)
- func GetVenvPythonExecPath() string
- func RunPipDepTree(pythonExecPath string) (map[string][]string, []string, error)
- func RunPipInstall() (err error)
- func RunPipInstallRequirements() (err error)
- func RunVirtualEnv() (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDepTreeScriptPath ¶
Return path to the dependency-tree script, if not exists it creates the file.
func GetPipenvDependenciesGraph ¶
Executes pipenv install and pipenv graph. Returns a dependency map of all the installed pip packages in the current environment to and another list of the top level dependencies
func GetPipenvDependenciesList ¶
Get simple list of all dependencies (using pipenv graph)
func GetPipenvVenv ¶
Execute "pipenv --venv" to get the pipenv virtual env path
func GetVenvPythonExecPath ¶ added in v2.9.0
func GetVenvPythonExecPath() string
func RunPipDepTree ¶
Executes the pip-dependency-map script and returns a dependency map of all the installed pip packages in the current environment to and another list of the top level dependencies
func RunPipInstallRequirements ¶ added in v2.9.0
func RunPipInstallRequirements() (err error)
Execute pip install requirements command. "pip install -r requirements.txt"
func RunVirtualEnv ¶
func RunVirtualEnv() (err error)
Execute virtualenv command: "virtualenv {venvDirPath}" / "python3 -m venv {venvDirPath}"
Types ¶
This section is empty.