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.
func GetExecutablePath ¶
Get executable path. If run inside a virtual-env, this should return the path for the correct executable.
Types ¶
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 { ServerDetails *config.ServerDetails Args []string Repository string ShouldParseLogs bool DependencyToFileMap map[string]string }
func (*PipInstaller) Install ¶
func (pi *PipInstaller) Install() error
Click to show internal directories.
Click to hide internal directories.