Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPackageNameFromSetupPy ¶
Get the project-name by running 'egg_info' command on setup.py and extracting it from 'PKG-INFO' file.
Types ¶
type CommonExecutor ¶ added in v2.5.0
type CommonExecutor struct {
ServerDetails *config.ServerDetails
Args []string
Repository string
}
type NativeExecutor ¶ added in v2.5.0
type NativeExecutor struct {
CmdName string
CommonExecutor
}
NativeExecutor handles the execution of any pip command which is not "install".
func (*NativeExecutor) Run ¶ added in v2.5.0
func (pne *NativeExecutor) Run() error
type PipCmd ¶
type PipCmd struct {
Executable string
Command string
CommandArgs []string
EnvVars map[string]string
StrWriter io.WriteCloser
ErrWriter io.WriteCloser
}
func (*PipCmd) GetErrWriter ¶
func (pc *PipCmd) GetErrWriter() io.WriteCloser
func (*PipCmd) GetStdWriter ¶
func (pc *PipCmd) GetStdWriter() io.WriteCloser
type PipInstaller ¶
type PipInstaller struct {
CommonExecutor
ShouldParseLogs bool
DependencyToFileMap map[string]string
}
func (*PipInstaller) Install ¶
func (pi *PipInstaller) Install() error
Click to show internal directories.
Click to hide internal directories.