|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
| def | __init__ (self, platforms=None, py_version_info=None, abis=None, implementation=None) |
| def | format_given (self) |
| def | get_tags (self) |
Data Fields | |
| abis | |
| implementation | |
| platforms | |
| py_version | |
| py_version_info | |
Encapsulates the properties of a Python interpreter one is targeting for a package install, download, etc.
| def __init__ | ( | self, | |
platforms = None, |
|||
py_version_info = None, |
|||
abis = None, |
|||
implementation = None |
|||
| ) |
:param platforms: A list of strings or None. If None, searches for
packages that are supported by the current system. Otherwise, will
find packages that can be built on the platforms passed in. These
packages will only be downloaded for distribution: they will
not be built locally.
:param py_version_info: An optional tuple of ints representing the
Python version information to use (e.g. `sys.version_info[:3]`).
This can have length 1, 2, or 3 when provided.
:param abis: A list of strings or None. This is passed to
compatibility_tags.py's get_supported() function as is.
:param implementation: A string or None. This is passed to
compatibility_tags.py's get_supported() function as is.
| def format_given | ( | self | ) |
Format the given, non-None attributes for display.
| def get_tags | ( | self | ) |
Return the supported PEP 425 tags to check wheel candidates against. The tags are returned in order of preference (most preferred first).
| abis |
| implementation |
| platforms |
| py_version |
| py_version_info |