module documentation

Undocumented

Function platform_tags Undocumented
Constant EF_ARM_ABI_FLOAT_HARD Undocumented
Constant EF_ARM_ABI_VER5 Undocumented
Constant EF_ARM_ABIMASK Undocumented
Class _GLibCVersion Undocumented
Function _get_glibc_version Undocumented
Function _glibc_version_string Returns glibc version string, or None if not using glibc.
Function _glibc_version_string_confstr Primary implementation of glibc_version_string using os.confstr.
Function _glibc_version_string_ctypes Fallback implementation of glibc_version_string using ctypes.
Function _have_compatible_abi Undocumented
Function _is_compatible Undocumented
Function _is_linux_armhf Undocumented
Function _is_linux_i686 Undocumented
Function _parse_elf Undocumented
Function _parse_glibc_version Parse glibc version.
Constant _LAST_GLIBC_MINOR Undocumented
Constant _LEGACY_MANYLINUX_MAP Undocumented
def platform_tags(linux: str, arch: str) -> Iterator[str]: (source)

Undocumented

EF_ARM_ABI_FLOAT_HARD: int = (source)

Undocumented

Value
1024
EF_ARM_ABI_VER5: int = (source)

Undocumented

Value
83886080
EF_ARM_ABIMASK: int = (source)

Undocumented

Value
4278190080
@functools.lru_cache()
def _get_glibc_version() -> Tuple[int, int]: (source)

Undocumented

def _glibc_version_string() -> Optional[str]: (source)

Returns glibc version string, or None if not using glibc.

def _glibc_version_string_confstr() -> Optional[str]: (source)

Primary implementation of glibc_version_string using os.confstr.

def _glibc_version_string_ctypes() -> Optional[str]: (source)

Fallback implementation of glibc_version_string using ctypes.

def _have_compatible_abi(executable: str, arch: str) -> bool: (source)

Undocumented

def _is_compatible(name: str, arch: str, version: _GLibCVersion) -> bool: (source)

Undocumented

def _is_linux_armhf(executable: str) -> bool: (source)

Undocumented

def _is_linux_i686(executable: str) -> bool: (source)

Undocumented

def _parse_glibc_version(version_str: str) -> Tuple[int, int]: (source)

Parse glibc version. We use a regexp instead of str.split because we want to discard any random junk that might come after the minor version -- this might happen in patched/forked versions of glibc (e.g. Linaro's version of glibc uses version strings like "2.20-2014.11"). See gh-3588.

_LAST_GLIBC_MINOR: Dict[int, int] = (source)

Undocumented

Value
collections.defaultdict((lambda : 50))
_LEGACY_MANYLINUX_MAP: dict = (source)

Undocumented

Value
{(2, 17): 'manylinux2014', (2, 12): 'manylinux2010', (2, 5): 'manylinux1'}