OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | _ELFFileHeader |
class | Tag |
Functions | |
def | parse_tag (tag) |
def | cpython_tags (python_version=None, abis=None, platforms=None, **kwargs) |
def | generic_tags (interpreter=None, abis=None, platforms=None, **kwargs) |
def | compatible_tags (python_version=None, interpreter=None, platforms=None) |
def | mac_platforms (version=None, arch=None) |
def | interpreter_name () |
def | interpreter_version (**kwargs) |
def | sys_tags (**kwargs) |
Variables | |
EXTENSION_SUFFIXES | |
PythonVersion | |
MacVersion | |
GlibcVersion | |
logger | |
INTERPRETER_SHORT_NAMES | |
def setuptools._vendor.packaging.tags.compatible_tags | ( | python_version = None , |
|
interpreter = None , |
|||
platforms = None |
|||
) |
Yields the sequence of tags that are compatible with a specific version of Python. The tags consist of: - py*-none-<platform> - <interpreter>-none-any # ... if `interpreter` is provided. - py*-none-any
def setuptools._vendor.packaging.tags.cpython_tags | ( | python_version = None , |
|
abis = None , |
|||
platforms = None , |
|||
** | kwargs | ||
) |
Yields the tags for a CPython interpreter. The tags consist of: - cp<python_version>-<abi>-<platform> - cp<python_version>-abi3-<platform> - cp<python_version>-none-<platform> - cp<less than python_version>-abi3-<platform> # Older Python versions down to 3.2. If python_version only specifies a major version then user-provided ABIs and the 'none' ABItag will be used. If 'abi3' or 'none' are specified in 'abis' then they will be yielded at their normal position and not at the beginning.
def setuptools._vendor.packaging.tags.generic_tags | ( | interpreter = None , |
|
abis = None , |
|||
platforms = None , |
|||
** | kwargs | ||
) |
Yields the tags for a generic interpreter. The tags consist of: - <interpreter>-<abi>-<platform> The "none" ABI will be added if it was not explicitly provided.
def setuptools._vendor.packaging.tags.interpreter_name | ( | ) |
Returns the name of the running interpreter.
def setuptools._vendor.packaging.tags.interpreter_version | ( | ** | kwargs | ) |
Returns the version of the running interpreter.
def setuptools._vendor.packaging.tags.mac_platforms | ( | version = None , |
|
arch = None |
|||
) |
Yields the platform tags for a macOS system. The `version` parameter is a two-item tuple specifying the macOS version to generate platform tags for. The `arch` parameter is the CPU architecture to generate platform tags for. Both parameters default to the appropriate value for the current system.
def setuptools._vendor.packaging.tags.parse_tag | ( | tag | ) |
Parses the provided tag (e.g. `py3-none-any`) into a frozenset of Tag instances. Returning a set is required due to the possibility that the tag is a compressed tag set.
def setuptools._vendor.packaging.tags.sys_tags | ( | ** | kwargs | ) |
Returns the sequence of tag triples for the running interpreter. The order of the sequence corresponds to priority order for the interpreter, from most to least important.
EXTENSION_SUFFIXES |
GlibcVersion |
INTERPRETER_SHORT_NAMES |
logger |
MacVersion |
PythonVersion |