(
wheel, # type: Union[str, InstallableWheel]
destination, # type: str
copy_mode=CopyMode.LINK, # type: CopyMode.Value
compile=False, # type: bool
)
| 716 | |
| 717 | |
| 718 | def install_wheel_flat( |
| 719 | wheel, # type: Union[str, InstallableWheel] |
| 720 | destination, # type: str |
| 721 | copy_mode=CopyMode.LINK, # type: CopyMode.Value |
| 722 | compile=False, # type: bool |
| 723 | ): |
| 724 | # type: (...) -> Tuple[Tuple[Text, Text], ...] |
| 725 | |
| 726 | wheel_to_install = ( |
| 727 | wheel if isinstance(wheel, InstallableWheel) else InstallableWheel.from_whl(wheel) |
| 728 | ) |
| 729 | return install_wheel( |
| 730 | wheel_to_install, |
| 731 | InstallPaths.flat(destination, wheel=wheel_to_install.wheel), |
| 732 | copy_mode=copy_mode, |
| 733 | compile=compile, |
| 734 | ) |
| 735 | |
| 736 | |
| 737 | def _read_record_lines(lines): |
no test coverage detected