OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | File |
class | MissingCallableSuffix |
class | PipScriptMaker |
class | ScriptFile |
class | ZipBackedFile |
Functions | |
def | rehash (path, blocksize=1<< 20) |
def | csv_io_kwargs (mode) |
def | fix_script (path) |
def | wheel_root_is_purelib (metadata) |
def | get_entrypoints (distribution) |
def | message_about_scripts_not_on_PATH (scripts) |
def | get_csv_rows_for_installed (old_csv_rows, installed, changed, generated, lib_dir) |
def | get_console_script_specs (console) |
def | req_error_context (req_description) |
def | install_wheel (name, wheel_path, scheme, req_description, pycompile=True, warn_script_location=True, direct_url=None, requested=False) |
Variables | |
logger | |
RecordPath | |
InstalledCSVRow | |
Support for installing and building the "wheel" binary package format.
def pip._internal.operations.install.wheel.csv_io_kwargs | ( | mode | ) |
Return keyword arguments to properly open a CSV file in the given mode.
def pip._internal.operations.install.wheel.fix_script | ( | path | ) |
Replace #!python with #!/path/to/python Return True if file was changed.
def pip._internal.operations.install.wheel.get_console_script_specs | ( | console | ) |
Given the mapping from entrypoint name to callable, return the relevant console script specs.
def pip._internal.operations.install.wheel.get_csv_rows_for_installed | ( | old_csv_rows, | |
installed, | |||
changed, | |||
generated, | |||
lib_dir | |||
) |
:param installed: A map from archive RECORD path to installation RECORD path.
def pip._internal.operations.install.wheel.get_entrypoints | ( | distribution | ) |
def pip._internal.operations.install.wheel.install_wheel | ( | name, | |
wheel_path, | |||
scheme, | |||
req_description, | |||
pycompile = True , |
|||
warn_script_location = True , |
|||
direct_url = None , |
|||
requested = False |
|||
) |
def pip._internal.operations.install.wheel.message_about_scripts_not_on_PATH | ( | scripts | ) |
Determine if any scripts are not on PATH and format a warning. Returns a warning message if one or more scripts are not on PATH, otherwise None.
def pip._internal.operations.install.wheel.rehash | ( | path, | |
blocksize = 1 << 20 |
|||
) |
Return (encoded_digest, length) for path using hashlib.sha256()
def pip._internal.operations.install.wheel.req_error_context | ( | req_description | ) |
def pip._internal.operations.install.wheel.wheel_root_is_purelib | ( | metadata | ) |
InstalledCSVRow |
logger |
RecordPath |