python

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 14 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]bool, 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 RunPipDepTree

func RunPipDepTree() (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 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