Expand description
Defining and manipulating Python distributions.
Structs§
- Apple
SdkInfo - Describes Apple SDK build/targeting.
- Distribution
Cache - Holds references to resolved PythonDistribution instances.
- Distribution
Extract Lock - Multiple threads or processes could race to extract the archive. So we use a lock file to ensure exclusive access. TODO use more granular lock based on the output directory (possibly by putting lock in output directory itself).
- Python
Distribution Record - Describes an obtainable Python distribution.
Enums§
- Binary
Libpython Link Mode - Denotes how a binary should link libpython.
- Distribution
Flavor - Describes the flavor of a distribution.
- Python
Distribution Location
Traits§
- Python
Distribution - Describes a generic Python distribution.
Functions§
- copy_
local_ distribution - default_
distribution_ location - Resolve the location of the default Python distribution of a given flavor and build target.
- download_
distribution - Ensure a Python distribution at a URL is available in a local directory.
- resolve_
distribution - Obtain a
PythonDistributionimplementation of a flavor and from a location. - resolve_
python_ distribution_ archive - Obtain a local Path for a Python distribution tar archive.
- resolve_
python_ distribution_ from_ location - Resolve a Python distribution archive.