Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constraint ¶ added in v1.0.0
func (Constraint) String ¶ added in v1.0.0
func (c Constraint) String() string
type Requirement ¶
type Requirement struct { Name string Constraints []Constraint }
func FromFile ¶
func FromFile(filename string) ([]Requirement, *errors.Error)
FromFile reads a list of dependencies from the supplied `requirements.txt` formatted file.
func FromSetupPy ¶ added in v1.0.0
func FromSetupPy(filename string) ([]Requirement, *errors.Error)
func (Requirement) String ¶
func (r Requirement) String() string
Click to show internal directories.
Click to hide internal directories.