Documentation
¶
Index ¶
- func Run(s *Supplier) error
- func RunPython(s *Supplier) error
- type Command
- type Installer
- type Manifest
- type Stager
- type Supplier
- func (s *Supplier) CopyRequirementsAndRuntimeTxt() error
- func (s *Supplier) CreateDefaultEnv() error
- func (s *Supplier) DownloadNLTKCorpora() error
- func (s *Supplier) HandleFfi() error
- func (s *Supplier) HandleMercurial() error
- func (s *Supplier) HandlePipfile() error
- func (s *Supplier) HandlePylibmc() error
- func (s *Supplier) HandleRequirementstxt() error
- func (s *Supplier) InstallPip() error
- func (s *Supplier) InstallPipEnv() error
- func (s *Supplier) InstallPipPop() error
- func (s *Supplier) InstallPython() error
- func (s *Supplier) RewriteShebangs() error
- func (s *Supplier) RunPip() error
- func (s *Supplier) SetupCacheDir() error
- func (s *Supplier) UninstallUnusedDependencies() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Installer ¶ added in v1.6.16
type Installer interface {
InstallDependency(libbuildpack.Dependency, string) error
InstallOnlyVersion(string, string) error
}
type Manifest ¶
type Manifest interface {
AllDependencyVersions(string) []string
DefaultVersion(string) (libbuildpack.Dependency, error)
IsCached() bool
}
type Supplier ¶
type Supplier struct {
PythonVersion string
Manifest Manifest
Installer Installer
Stager Stager
Command Command
Log *libbuildpack.Logger
Logfile *os.File
HasNltkData bool
}
func (*Supplier) CopyRequirementsAndRuntimeTxt ¶
func (*Supplier) CreateDefaultEnv ¶
func (*Supplier) DownloadNLTKCorpora ¶
func (*Supplier) HandleMercurial ¶
func (*Supplier) HandlePipfile ¶
func (*Supplier) HandlePylibmc ¶
func (*Supplier) HandleRequirementstxt ¶
func (*Supplier) InstallPip ¶
func (*Supplier) InstallPipEnv ¶
func (*Supplier) InstallPipPop ¶
func (*Supplier) InstallPython ¶
func (*Supplier) RewriteShebangs ¶
func (*Supplier) SetupCacheDir ¶
func (*Supplier) UninstallUnusedDependencies ¶
Click to show internal directories.
Click to hide internal directories.