Let us walk on the 3-isogeny graph
|
Functions | |
bool | _contains_egg_info (str s) |
bool | _should_build (InstallRequirement req, bool need_wheel) |
bool | should_build_for_wheel_command (InstallRequirement req) |
bool | should_build_for_install_command (InstallRequirement req) |
Optional[bool] | _should_cache (InstallRequirement req) |
str | _get_cache_dir (InstallRequirement req, WheelCache wheel_cache) |
None | _verify_one (InstallRequirement req, str wheel_path) |
Optional[str] | _build_one (InstallRequirement req, str output_dir, bool verify, List[str] build_options, List[str] global_options, bool editable) |
Optional[str] | _build_one_inside_env (InstallRequirement req, str output_dir, List[str] build_options, List[str] global_options, bool editable) |
bool | _clean_one_legacy (InstallRequirement req, List[str] global_options) |
BuildResult | build (Iterable[InstallRequirement] requirements, WheelCache wheel_cache, bool verify, List[str] build_options, List[str] global_options) |
Variables | |
logger = logging.getLogger(__name__) | |
_egg_info_re = re.compile(r"([a-z0-9_.]+)-([a-z0-9_.!+-]+)", re.IGNORECASE) | |
BuildResult = Tuple[List[InstallRequirement], List[InstallRequirement]] | |
Orchestrator for building wheels from InstallRequirements.
|
protected |
Build one wheel. :return: The filename of the built wheel, or None if the build failed.
Definition at line 168 of file wheel_builder.py.
References pip._internal.wheel_builder._build_one_inside_env(), pip._internal.wheel_builder._verify_one(), and i.
Referenced by pip._internal.wheel_builder.build().
|
protected |
Definition at line 206 of file wheel_builder.py.
References pip._internal.wheel_builder._clean_one_legacy(), and i.
Referenced by pip._internal.wheel_builder._build_one().
|
protected |
Definition at line 277 of file wheel_builder.py.
References i.
Referenced by pip._internal.wheel_builder._build_one_inside_env().
|
protected |
Determine whether the string looks like an egg_info. :param s: The string to parse. E.g. foo-2.1
Definition at line 37 of file wheel_builder.py.
References i.
Referenced by pip._internal.wheel_builder._should_cache().
|
protected |
Return the persistent or temporary cache directory where the built wheel need to be stored.
Definition at line 122 of file wheel_builder.py.
References pip._internal.wheel_builder._should_cache(), and i.
Referenced by pip._internal.wheel_builder.build().
|
protected |
Return whether an InstallRequirement should be built into a wheel.
Definition at line 45 of file wheel_builder.py.
References i.
Referenced by pip._internal.wheel_builder.should_build_for_install_command(), and pip._internal.wheel_builder.should_build_for_wheel_command().
|
protected |
Return whether a built InstallRequirement can be stored in the persistent wheel cache, assuming the wheel cache is available, and _should_build() has determined a wheel needs to be built.
Definition at line 90 of file wheel_builder.py.
References pip._internal.wheel_builder._contains_egg_info(), and i.
Referenced by pip._internal.wheel_builder._get_cache_dir().
|
protected |
Definition at line 138 of file wheel_builder.py.
References i.
Referenced by pip._internal.wheel_builder._build_one().
BuildResult build | ( | Iterable[InstallRequirement] | requirements, |
WheelCache | wheel_cache, | ||
bool | verify, | ||
List[str] | build_options, | ||
List[str] | global_options | ||
) |
Build wheels. :return: The list of InstallRequirement that succeeded to build and the list of InstallRequirement that failed to build.
Definition at line 294 of file wheel_builder.py.
References pip._internal.wheel_builder._build_one(), pip._internal.wheel_builder._get_cache_dir(), and i.
bool should_build_for_install_command | ( | InstallRequirement | req | ) |
Definition at line 84 of file wheel_builder.py.
References pip._internal.wheel_builder._should_build().
bool should_build_for_wheel_command | ( | InstallRequirement | req | ) |
Definition at line 78 of file wheel_builder.py.
References pip._internal.wheel_builder._should_build().
Definition at line 32 of file wheel_builder.py.
BuildResult = Tuple[List[InstallRequirement], List[InstallRequirement]] |
Definition at line 34 of file wheel_builder.py.
logger = logging.getLogger(__name__) |
Definition at line 30 of file wheel_builder.py.