|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | PipOption |
Functions | |
| def | raise_option_error (parser, option, msg) |
| def | make_option_group (group, parser) |
| def | check_install_build_global (options, check_options=None) |
| def | check_dist_restriction (options, check_target=False) |
| def | exists_action () |
| def | extra_index_url () |
| def | find_links () |
| def | trusted_host () |
| def | constraints () |
| def | requirements () |
| def | editable () |
| def | no_binary () |
| def | only_binary () |
| def | add_target_python_options (cmd_opts) |
| def | make_target_python (options) |
| def | prefer_binary () |
| def | check_list_path_option (options) |
shared options and groups The principle here is to define options once, but *not* instantiate them globally. One reason being that options with action='append' can carry state between parses. pip parses general options twice internally, and shouldn't pass on state. To be consistent, all options will follow this design.
| def pip._internal.cli.cmdoptions.add_target_python_options | ( | cmd_opts | ) |
| def pip._internal.cli.cmdoptions.check_dist_restriction | ( | options, | |
check_target = False |
|||
| ) |
Function for determining if custom platform options are allowed. :param options: The OptionParser options. :param check_target: Whether or not to check if --target is being used.
| def pip._internal.cli.cmdoptions.check_install_build_global | ( | options, | |
check_options = None |
|||
| ) |
Disable wheels if per-setup.py call options are set.
:param options: The OptionParser options to update.
:param check_options: The options to check, if not supplied defaults to
options.
| def pip._internal.cli.cmdoptions.check_list_path_option | ( | options | ) |
| def pip._internal.cli.cmdoptions.constraints | ( | ) |
| def pip._internal.cli.cmdoptions.editable | ( | ) |
| def pip._internal.cli.cmdoptions.exists_action | ( | ) |
| def pip._internal.cli.cmdoptions.extra_index_url | ( | ) |
| def pip._internal.cli.cmdoptions.find_links | ( | ) |
| def pip._internal.cli.cmdoptions.make_option_group | ( | group, | |
| parser | |||
| ) |
Return an OptionGroup object group -- assumed to be dict with 'name' and 'options' keys parser -- an optparse Parser
| def pip._internal.cli.cmdoptions.make_target_python | ( | options | ) |
| def pip._internal.cli.cmdoptions.no_binary | ( | ) |
| def pip._internal.cli.cmdoptions.only_binary | ( | ) |
| def pip._internal.cli.cmdoptions.prefer_binary | ( | ) |
| def pip._internal.cli.cmdoptions.raise_option_error | ( | parser, | |
| option, | |||
| msg | |||
| ) |
Raise an option parsing error using parser.error(). Args: parser: an OptionParser instance. option: an Option instance. msg: the error text.
| def pip._internal.cli.cmdoptions.requirements | ( | ) |
| def pip._internal.cli.cmdoptions.trusted_host | ( | ) |
| abis |
| action |
| build_dir |
| build_options |
| cache_dir |
| callback |
| cert |
| choices |
| client_cert |
| default |
| dest |
| disable_pip_version_check |
| general_group |
groups #
| global_options |
| hash |
| help |
| help_ |
| ignore_requires_python |
| implementation |
| index_group |
| index_url |
| install_options |
| isolated_mode |
| list_exclude |
| list_path |
| log |
| metavar |
| no_build_isolation |
| no_cache |
| no_clean |
| no_color |
| no_deps |
| no_index |
| no_input |
| no_python_version_warning |
| no_use_pep517 |
| platforms |
| pre |
| progress_bar |
| proxy |
| python_version |
| quiet |
| require_hashes |
| require_virtualenv |
| retries |
| src |
| timeout |
| type |
| use_deprecated_feature |
| use_new_feature |
| use_pep517 |
| verbose |
| version |