Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pip._internal.operations.prepare.RequirementPreparer Class Reference

Public Member Functions

None __init__ (self, str build_dir, Optional[str] download_dir, str src_dir, bool build_isolation, bool check_build_deps, BuildTracker build_tracker, PipSession session, str progress_bar, PackageFinder finder, bool require_hashes, bool use_user_site, bool lazy_wheel, int verbosity, bool legacy_resolver)
 
BaseDistribution prepare_linked_requirement (self, InstallRequirement req, bool parallel_builds=False)
 
None prepare_linked_requirements_more (self, Iterable[InstallRequirement] reqs, bool parallel_builds=False)
 
None save_linked_requirement (self, InstallRequirement req)
 
BaseDistribution prepare_editable_requirement (self, InstallRequirement req)
 
BaseDistribution prepare_installed_requirement (self, InstallRequirement req, str skip_reason)
 

Public Attributes

 src_dir
 
 build_dir
 
 build_tracker
 
 finder
 
 download_dir
 
 build_isolation
 
 check_build_deps
 
 require_hashes
 
 use_user_site
 
 use_lazy_wheel
 
 verbosity
 
 legacy_resolver
 

Protected Member Functions

None _log_preparing_link (self, InstallRequirement req)
 
None _ensure_link_req_src_dir (self, InstallRequirement req, bool parallel_builds)
 
Hashes _get_linked_req_hashes (self, InstallRequirement req)
 
Optional[BaseDistribution_fetch_metadata_only (self, InstallRequirement req)
 
Optional[BaseDistribution_fetch_metadata_using_link_data_attr (self, InstallRequirement req)
 
Optional[BaseDistribution_fetch_metadata_using_lazy_wheel (self, Link link)
 
None _complete_partial_requirements (self, Iterable[InstallRequirement] partially_downloaded_reqs, bool parallel_builds=False)
 
BaseDistribution _prepare_linked_requirement (self, InstallRequirement req, bool parallel_builds)
 

Protected Attributes

 _session
 
 _download
 
 _batch_download
 
 _previous_requirement_header
 

Detailed Description

Prepares a Requirement

Member Function Documentation

◆ _complete_partial_requirements()

None pip._internal.operations.prepare.RequirementPreparer._complete_partial_requirements (   self,
Iterable[InstallRequirement partially_downloaded_reqs,
bool   parallel_builds = False 
)
protected
Download any requirements which were only fetched by metadata.

◆ _ensure_link_req_src_dir()

None pip._internal.operations.prepare.RequirementPreparer._ensure_link_req_src_dir (   self,
InstallRequirement  req,
bool   parallel_builds 
)
protected
Ensure source_dir of a linked InstallRequirement.

◆ _fetch_metadata_using_lazy_wheel()

Optional[BaseDistribution] pip._internal.operations.prepare.RequirementPreparer._fetch_metadata_using_lazy_wheel (   self,
Link  link 
)
protected
Fetch metadata using lazy wheel, if possible.

◆ _fetch_metadata_using_link_data_attr()

Optional[BaseDistribution] pip._internal.operations.prepare.RequirementPreparer._fetch_metadata_using_link_data_attr (   self,
InstallRequirement  req 
)
protected
Fetch metadata from the data-dist-info-metadata attribute, if possible.

◆ _log_preparing_link()

None pip._internal.operations.prepare.RequirementPreparer._log_preparing_link (   self,
InstallRequirement  req 
)
protected
Provide context for the requirement being prepared.

◆ prepare_editable_requirement()

BaseDistribution pip._internal.operations.prepare.RequirementPreparer.prepare_editable_requirement (   self,
InstallRequirement  req 
)
Prepare an editable requirement.

◆ prepare_installed_requirement()

BaseDistribution pip._internal.operations.prepare.RequirementPreparer.prepare_installed_requirement (   self,
InstallRequirement  req,
str  skip_reason 
)
Prepare an already-installed requirement.

◆ prepare_linked_requirement()

BaseDistribution pip._internal.operations.prepare.RequirementPreparer.prepare_linked_requirement (   self,
InstallRequirement  req,
bool   parallel_builds = False 
)
Prepare a requirement to be obtained from req.link.

◆ prepare_linked_requirements_more()

None pip._internal.operations.prepare.RequirementPreparer.prepare_linked_requirements_more (   self,
Iterable[InstallRequirement reqs,
bool   parallel_builds = False 
)
Prepare linked requirements more, if needed.

The documentation for this class was generated from the following file: