OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | InstallCommand |
Functions | |
def | get_check_binary_allowed (format_control) |
def | get_lib_location_guesses (user=False, home=None, root=None, isolated=False, prefix=None # type:Optional[str]) |
def | site_packages_writable (root, isolated) |
def | decide_user_install (use_user_site, prefix_path=None, target_dir=None, root_path=None, isolated_mode=False) |
def | reject_location_related_install_options (requirements, options) |
def | create_os_error_message (error, show_traceback, using_user_site) |
Variables | |
logger | |
def pip._internal.commands.install.create_os_error_message | ( | error, | |
show_traceback, | |||
using_user_site | |||
) |
Format an error message for an OSError It may occur anytime during the execution of the install command.
def pip._internal.commands.install.decide_user_install | ( | use_user_site, | |
prefix_path = None , |
|||
target_dir = None , |
|||
root_path = None , |
|||
isolated_mode = False |
|||
) |
Determine whether to do a user install based on the input options. If use_user_site is False, no additional checks are done. If use_user_site is True, it is checked for compatibility with other options. If use_user_site is None, the default behaviour depends on the environment, which is provided by the other arguments.
def pip._internal.commands.install.get_check_binary_allowed | ( | format_control | ) |
def pip._internal.commands.install.get_lib_location_guesses | ( | user = False , |
|
home = None , |
|||
root = None , |
|||
isolated = False , |
|||
prefix = None # type: Optional[str] |
|||
) |
def pip._internal.commands.install.reject_location_related_install_options | ( | requirements, | |
options | |||
) |
If any location-changing --install-option arguments were passed for requirements or on the command-line, then show a deprecation warning.
def pip._internal.commands.install.site_packages_writable | ( | root, | |
isolated | |||
) |
logger |