Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Functions | Variables
pip._internal.wheel_builder Namespace Reference

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]]
 

Detailed Description

Orchestrator for building wheels from InstallRequirements.

Function Documentation

◆ _build_one()

Optional[str] pip._internal.wheel_builder._build_one ( InstallRequirement  req,
str  output_dir,
bool  verify,
List[str]  build_options,
List[str]  global_options,
bool  editable 
)
protected
Build one wheel.

:return: The filename of the built wheel, or None if the build failed.

◆ _contains_egg_info()

bool pip._internal.wheel_builder._contains_egg_info ( str  s)
protected
Determine whether the string looks like an egg_info.

:param s: The string to parse. E.g. foo-2.1

◆ _get_cache_dir()

str pip._internal.wheel_builder._get_cache_dir ( InstallRequirement  req,
WheelCache  wheel_cache 
)
protected
Return the persistent or temporary cache directory where the built
wheel need to be stored.

◆ _should_build()

bool pip._internal.wheel_builder._should_build ( InstallRequirement  req,
bool  need_wheel 
)
protected
Return whether an InstallRequirement should be built into a wheel.

◆ _should_cache()

Optional[bool] pip._internal.wheel_builder._should_cache ( InstallRequirement  req)
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.

◆ build()

BuildResult pip._internal.wheel_builder.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.