Documentation
¶
Overview ¶
Package pypi implements the "pypi" subcommand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
*root.Config
// Package identity
Name string
PackageName string
EntryPoint string
// Metadata
Summary string
LicenseExpr string
LicensePath string
ReadmePath string
NoReadme bool
URL string
// Version
Version string
PyVersion string
// Platform selection
PlatformFilter string
// Output / upload
OutputDir string
Upload bool
PyPIURL string
PyPIToken string
// Mode: "release", "local", or "build"; inferred from flags when empty.
Mode string
// Release mode (--mode release or --repo provided)
Repo string
Assets string
Cache string
GitHubToken string
// Local mode (--mode local or --artifact provided)
Artifacts []string
// Build mode (--mode build or --package / --mod-dir provided)
Package string
ModDir string
LDFlags string
Flags *ff.FlagSet
Command *ff.Command
}
Config holds the configuration for the pypi subcommand.
Click to show internal directories.
Click to hide internal directories.