pypi

package
v0.0.0-...-249644f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPureWheel

func FindPureWheel(artifacts []pypireg.Artifact) (*pypireg.Artifact, error)

FindPureWheel returns the pure wheel artifact from the given version's releases.

func FindSourceDist

func FindSourceDist(artifacts []pypireg.Artifact) (*pypireg.Artifact, error)

Types

type PureWheelBuild

type PureWheelBuild struct {
	rebuild.Location
	PythonVersion string    `json:"python_version" yaml:"python_version"`
	Requirements  []string  `json:"requirements" yaml:"requirements"`
	RegistryTime  time.Time `json:"registry_time" yaml:"registry_time,omitempty"`
}

PureWheelBuild aggregates the options controlling a wheel build.

func (*PureWheelBuild) GenerateFor

GenerateFor generates the instructions for a PureWheelBuild.

func (*PureWheelBuild) ToWorkflow

func (b *PureWheelBuild) ToWorkflow() *rebuild.WorkflowStrategy

type Rebuilder

type Rebuilder struct{}

func (Rebuilder) CloneRepo

func (Rebuilder) CloneRepo(ctx context.Context, t rebuild.Target, repoURI string, ropt *gitx.RepositoryOptions) (r rebuild.RepoConfig, err error)

func (Rebuilder) InferRepo

func (Rebuilder) InferStrategy

func (Rebuilder) Upstream

func (Rebuilder) UpstreamURL

func (r Rebuilder) UpstreamURL(ctx context.Context, t rebuild.Target, mux rebuild.RegistryMux) (string, error)

func (Rebuilder) UsesTimewarp

func (r Rebuilder) UsesTimewarp(input rebuild.Input) bool

type SdistBuild

type SdistBuild struct {
	rebuild.Location
	PythonVersion string    `json:"python_version" yaml:"python_version"`
	Requirements  []string  `json:"requirements" yaml:"requirements"`
	RegistryTime  time.Time `json:"registry_time" yaml:"registry_time,omitempty"`
}

SdistBuild includes elements for building an sdist.

func (*SdistBuild) GenerateFor

GenerateFor generates the instructions for a SourceDistBuild.

func (*SdistBuild) ToWorkflow

func (b *SdistBuild) ToWorkflow() *rebuild.WorkflowStrategy

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL