python

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDepTreeScriptPath

func GetDepTreeScriptPath() (string, error)

Return path to the dependency-tree script, if not exists it creates the file.

func GetPipenvDependenciesGraph

func GetPipenvDependenciesGraph(venvDir string) (map[string][]string, []string, error)

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

func GetPipenvDependenciesList(venvDir string) (map[string][]string, []string, error)

Get simple list of all dependencies (using pipenv graph)

func GetPipenvVenv

func GetPipenvVenv() (string, error)

Execute "pipenv --venv" to get the pipenv virtual env path

func GetVenvPythonExecPath added in v2.9.0

func GetVenvPythonExecPath() string

func RunPipDepTree

func RunPipDepTree(pythonExecPath string) (map[string][]string, []string, error)

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 RunPipInstall

func RunPipInstall() (err error)

Execute pip install command. "pip install ."

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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