Module distribution

Module distribution 

Source
Expand description

Defining and manipulating Python distributions.

Structs§

AppleSdkInfo
Describes Apple SDK build/targeting.
DistributionCache
Holds references to resolved PythonDistribution instances.
DistributionExtractLock
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).
PythonDistributionRecord
Describes an obtainable Python distribution.

Enums§

BinaryLibpythonLinkMode
Denotes how a binary should link libpython.
DistributionFlavor
Describes the flavor of a distribution.
PythonDistributionLocation

Traits§

PythonDistribution
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 PythonDistribution implementation 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.