python

package
v0.7.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: MPL-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PipBuilder

type PipBuilder struct {
	PythonCmd     string
	PythonVersion string

	PipCmd     string
	PipVersion string

	Virtualenv string
}

PipBuilder implements Builder for Pip. These properties are public for the sake of serialization.

func (*PipBuilder) Analyze

func (builder *PipBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)

Analyze runs `pipdeptree.py` in the current environment

func (*PipBuilder) Build

func (builder *PipBuilder) Build(m module.Module, force bool) error

Build runs `pip install -r requirements.txt`

func (*PipBuilder) DiscoverModules

func (builder *PipBuilder) DiscoverModules(dir string) ([]module.Config, error)

DiscoverModules builds ModuleConfigs for any `requirements.txt` files

func (*PipBuilder) Initialize

func (builder *PipBuilder) Initialize() error

Initialize collects metadata on Python and Pip binaries

func (*PipBuilder) IsBuilt

func (builder *PipBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool, error)

IsBuilt checks for the existence of `requirements.txt`

func (*PipBuilder) IsModule

func (builder *PipBuilder) IsModule(target string) (bool, error)

IsModule is not implemented

Jump to

Keyboard shortcuts

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