|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | _DummyException |
| class | BackendInvalid |
| class | BackendUnavailable |
| class | GotUnsupportedOperation |
| class | HookMissing |
Functions | |
| def | write_json (obj, path, **kwargs) |
| def | read_json (path) |
| def | contained_in (filename, directory) |
| def | get_requires_for_build_wheel (config_settings) |
| def | prepare_metadata_for_build_wheel (metadata_directory, config_settings, _allow_fallback) |
| def | build_wheel (wheel_directory, config_settings, metadata_directory=None) |
| def | get_requires_for_build_sdist (config_settings) |
| def | build_sdist (sdist_directory, config_settings) |
| def | main () |
Variables | |
| WHEEL_BUILT_MARKER | |
| HOOK_NAMES | |
This is invoked in a subprocess to call the build backend hooks.
It expects:
- Command line args: hook_name, control_dir
- Environment variables:
PEP517_BUILD_BACKEND=entry.point:spec
PEP517_BACKEND_PATH=paths (separated with os.pathsep)
- control_dir/input.json:
- {"kwargs": {...}}
Results:
- control_dir/output.json
- {"return_val": ...}
| def pip._vendor.pep517.in_process._in_process.build_sdist | ( | sdist_directory, | |
| config_settings | |||
| ) |
Invoke the mandatory build_sdist hook.
| def pip._vendor.pep517.in_process._in_process.build_wheel | ( | wheel_directory, | |
| config_settings, | |||
metadata_directory = None |
|||
| ) |
Invoke the mandatory build_wheel hook. If a wheel was already built in the prepare_metadata_for_build_wheel fallback, this will copy it rather than rebuilding the wheel.
| def pip._vendor.pep517.in_process._in_process.contained_in | ( | filename, | |
| directory | |||
| ) |
Test if a file is located within the given directory.
| def pip._vendor.pep517.in_process._in_process.get_requires_for_build_sdist | ( | config_settings | ) |
Invoke the optional get_requires_for_build_wheel hook Returns [] if the hook is not defined.
| def pip._vendor.pep517.in_process._in_process.get_requires_for_build_wheel | ( | config_settings | ) |
Invoke the optional get_requires_for_build_wheel hook Returns [] if the hook is not defined.
| def pip._vendor.pep517.in_process._in_process.main | ( | ) |
| def pip._vendor.pep517.in_process._in_process.prepare_metadata_for_build_wheel | ( | metadata_directory, | |
| config_settings, | |||
| _allow_fallback | |||
| ) |
Invoke optional prepare_metadata_for_build_wheel Implements a fallback by building a wheel if the hook isn't defined, unless _allow_fallback is False in which case HookMissing is raised.
| def read_json | ( | path | ) |
| def write_json | ( | obj, | |
| path, | |||
| ** | kwargs | ||
| ) |
| HOOK_NAMES |
| WHEEL_BUILT_MARKER |