|
Let us walk on the 3-isogeny graph
|
Data Structures | |
| class | InstallCommand |
Functions | |
| List[str] | get_lib_location_guesses (bool user=False, Optional[str] home=None, Optional[str] root=None, bool isolated=False, Optional[str] prefix=None) |
| bool | site_packages_writable (Optional[str] root, bool isolated) |
| bool | decide_user_install (Optional[bool] use_user_site, Optional[str] prefix_path=None, Optional[str] target_dir=None, Optional[str] root_path=None, bool isolated_mode=False) |
| str | create_os_error_message (OSError error, bool show_traceback, bool using_user_site) |
Variables | |
| logger = getLogger(__name__) | |
| str create_os_error_message | ( | OSError | error, |
| bool | show_traceback, | ||
| bool | using_user_site | ||
| ) |
Format an error message for an OSError It may occur anytime during the execution of the install command.
Definition at line 724 of file install.py.
References i.
Referenced by InstallCommand.run().

| bool decide_user_install | ( | Optional[bool] | use_user_site, |
| Optional[str] | prefix_path = None, |
||
| Optional[str] | target_dir = None, |
||
| Optional[str] | root_path = None, |
||
| bool | 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.
Definition at line 663 of file install.py.
References i, and pip._internal.commands.install.site_packages_writable().
Referenced by InstallCommand.run().


| List[str] get_lib_location_guesses | ( | bool | user = False, |
| Optional[str] | home = None, |
||
| Optional[str] | root = None, |
||
| bool | isolated = False, |
||
| Optional[str] | prefix = None |
||
| ) |
Definition at line 638 of file install.py.
References i.
Referenced by InstallCommand.run(), and pip._internal.commands.install.site_packages_writable().

| bool site_packages_writable | ( | Optional[str] | root, |
| bool | isolated | ||
| ) |
Definition at line 656 of file install.py.
References pip._internal.commands.install.get_lib_location_guesses().
Referenced by pip._internal.commands.install.decide_user_install().


| logger = getLogger(__name__) |
Definition at line 49 of file install.py.