| Server IP : 66.29.146.62 / Your IP : 216.73.216.152 Web Server : LiteSpeed System : Linux premium231.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : dokkdzvi ( 925) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/ |
Upload File : |
�
�Rec @@ s� d d l m Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z e r� d d l
m Z m Z n e j
e � Z e j d � Z d � Z d � Z d � Z d � Z d
� Z d � Z d � Z d S(
i ( t absolute_importN( t MYPY_CHECK_RUNNING( t Listt Optionals8 include-system-site-packages\s*=\s*(?P<value>true|false)c C@ s t j t t d t j � k S( sn Checks if sys.base_prefix and sys.prefix match.
This handles PEP 405 compliant virtual environments.
t base_prefix( t syst prefixt getattr( ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/virtualenv.pyt _running_under_venv s c C@ s
t t d � S( sm Checks if sys.real_prefix is set.
This handles virtual environments created with pypa's virtualenv.
t real_prefix( t hasattrR ( ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/virtualenv.pyt! _running_under_regular_virtualenv s c C@ s t � p t � S( sG Return True if we're running inside a virtualenv, False otherwise.
( R R ( ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/virtualenv.pyt running_under_virtualenv( s c C@ sc t j j t j d � } y2 t j | d d �� } | j � j � SWd QXWn t k
r^ d SXd S( s� Reads {sys.prefix}/pyvenv.cfg and returns its contents as list of lines
Returns None, if it could not read/access the file.
s
pyvenv.cfgt encodings utf-8N( t ost patht joinR R t iot opent readt
splitlinest IOErrort None( t pyvenv_cfg_filet f( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/virtualenv.pyt _get_pyvenv_cfg_lines/ s
c C@ so t � } | d k r&