|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | WheelMetadata |
Functions | |
| def | pkg_resources_distribution_for_wheel (wheel_zip, name, location) |
| def | parse_wheel (wheel_zip, name) |
| def | wheel_dist_info_dir (source, name) |
| def | read_wheel_metadata_file (source, path) |
| def | wheel_metadata (source, dist_info_dir) |
| def | wheel_version (wheel_data) |
| def | check_compatibility (version, name) |
Variables | |
| VERSION_COMPATIBLE | |
| logger | |
Support functions for working with wheel files.
| def pip._internal.utils.wheel.check_compatibility | ( | version, | |
| name | |||
| ) |
Raises errors or warns if called with an incompatible Wheel-Version. pip should refuse to install a Wheel-Version that's a major series ahead of what it's compatible with (e.g 2.0 > 1.1); and warn when installing a version only minor version ahead (e.g 1.2 > 1.1). version: a 2-tuple representing a Wheel-Version (Major, Minor) name: name of wheel or package to raise exception about :raises UnsupportedWheel: when an incompatible Wheel-Version is given
| def pip._internal.utils.wheel.parse_wheel | ( | wheel_zip, | |
| name | |||
| ) |
Extract information from the provided wheel, ensuring it meets basic standards. Returns the name of the .dist-info directory and the parsed WHEEL metadata.
| def pip._internal.utils.wheel.pkg_resources_distribution_for_wheel | ( | wheel_zip, | |
| name, | |||
| location | |||
| ) |
Get a pkg_resources distribution given a wheel. :raises UnsupportedWheel: on any errors
| def pip._internal.utils.wheel.read_wheel_metadata_file | ( | source, | |
| path | |||
| ) |
| def pip._internal.utils.wheel.wheel_dist_info_dir | ( | source, | |
| name | |||
| ) |
Returns the name of the contained .dist-info directory. Raises AssertionError or UnsupportedWheel if not found, >1 found, or it doesn't match the provided name.
| def pip._internal.utils.wheel.wheel_metadata | ( | source, | |
| dist_info_dir | |||
| ) |
Return the WHEEL metadata of an extracted wheel, if possible. Otherwise, raise UnsupportedWheel.
| def pip._internal.utils.wheel.wheel_version | ( | wheel_data | ) |
Given WHEEL metadata, return the parsed Wheel-Version. Otherwise, raise UnsupportedWheel.
| logger |
| VERSION_COMPATIBLE |