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

Classes

class  _Prefix
 
class  BuildEnvironment
 
class  NoOpBuildEnvironment
 

Functions

Union[Tuple[str], Tuple[str, str]] _dedup (str a, str b)
 
str get_runnable_pip ()
 
Set[str] _get_system_sitepackages ()
 

Variables

 logger = logging.getLogger(__name__)
 

Detailed Description

Build Environment used for isolation during sdist building

Function Documentation

◆ _get_system_sitepackages()

Set[str] pip._internal.build_env._get_system_sitepackages ( )
protected
Get system site packages

Usually from site.getsitepackages,
but fallback on `get_purelib()/get_platlib()` if unavailable
(e.g. in a virtualenv created by virtualenv<20)

Returns normalized set of strings.

◆ get_runnable_pip()

str pip._internal.build_env.get_runnable_pip ( )
Get a file to pass to a Python executable, to run the currently-running pip.

This is used to run a pip subprocess, for installing requirements into the build
environment.