Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildSystem ¶ added in v0.1.0
type BuildSystem struct {
Requires []string `toml:"requires"`
}
BuildSystem is the PEP 518 [build-system] table; Requires lists the packages needed to build the project (setuptools, cmake, …) — build-time, not runtime.
type Flit ¶
type Flit struct {
Metadata *FlitMetadata `toml:"metadata"`
}
type FlitMetadata ¶
type NameResult ¶
func ParseName ¶
func ParseName(content string) NameResult
func (NameResult) GetDynamicReason ¶
func (nr NameResult) GetDynamicReason() string
func (NameResult) GetIsDynamic ¶
func (nr NameResult) GetIsDynamic() bool
func (NameResult) GetName ¶
func (nr NameResult) GetName() *string
type PyProjectToml ¶
type PyProjectToml struct {
Project *Project `toml:"project"`
Tool *Tool `toml:"tool"`
BuildSystem *BuildSystem `toml:"build-system"`
DependencyGroups map[string][]any `toml:"dependency-groups"`
}
Click to show internal directories.
Click to hide internal directories.