pipenv

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Layer               = "pipenv"
	PythonLayer         = "python"
	PythonPackagesLayer = "python_packages"
)

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 (n Contributor) ContributePipenv() error

func (Contributor) ContributeRequirementsTxt

func (n Contributor) ContributeRequirementsTxt() error

type PipfileLock

type PipfileLock struct {
	Meta struct {
		Requires struct {
			Version string `json:"python_version"`
		} `json:"requires"`
	} `json:"_meta"`
}

Jump to

Keyboard shortcuts

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