pipenv

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dependency        = "pipenv"
	PythonLayer       = "python"
	RequirementsLayer = "requirements"
	Pipfile           = "Pipfile"
	LockFile          = "Pipfile.lock"
	RequirementsFile  = "requirements.txt"
)

Variables

This section is empty.

Functions

func GetPythonVersionFromPipfileLock

func GetPythonVersionFromPipfileLock(fullPath string) (string, error)

Types

type Contributor

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

func NewContributor

func NewContributor(context build.Build, runner runner.Runner) (Contributor, bool, error)

func (Contributor) ContributePipenv

func (c Contributor) ContributePipenv() error

func (Contributor) ContributeRequirementsTxt

func (c Contributor) ContributeRequirementsTxt() error

type Metadata added in v0.0.10

type Metadata struct {
	Name string
	Hash string
}

func (Metadata) Identity added in v0.0.10

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

type PipfileLock

type PipfileLock struct {
	Meta struct {
		Requires struct {
			Version string `json:"python_version"`
		} `json:"requires"`
		Sources []struct {
			URL string
		}
	} `json:"_meta"`
	Default map[string]struct {
		Version string
	}
}

Jump to

Keyboard shortcuts

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