python_packages

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dependency       = "python_packages"
	Cache            = "pip_cache"
	RequirementsFile = "requirements.txt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Contributor

type Contributor struct {
	// contains filtered or unexported fields
}

func NewContributor

func NewContributor(context build.Build, manager PackageManager) (Contributor, bool, error)

func (Contributor) Contribute

func (c Contributor) Contribute() error

type PackageManager

type PackageManager interface {
	Install(requirementsPath, location, cacheDir string) error
	InstallVendor(requirementsPath, location, vendorDir string) error
}

Jump to

Keyboard shortcuts

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