python_packages

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 10 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 Metadata added in v0.0.13

type Metadata struct {
	Name string
	Hash string
}

func (Metadata) Identity added in v0.0.13

func (m Metadata) Identity() (name string, version string)

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