????
| Current Path : /proc/self/root/proc/self/root/lib/python2.7/site-packages/pip/_internal/utils/ |
| Current File : //proc/self/root/proc/self/root/lib/python2.7/site-packages/pip/_internal/utils/virtualenv.pyc |
�
}�\]c @ s: d d l Z d d l Z d d l Z d � Z d � Z d S( i����Nc C s9 t t d � r t St j t t d t j � k r5 t St S( sM
Return True if we're running inside a virtualenv, False otherwise.
t real_prefixt base_prefix( t hasattrt syst Truet prefixt getattrt False( ( ( s= /tmp/pip-install-ewDPok/pip/pip/_internal/utils/virtualenv.pyt running_under_virtualenv s
c C s] t j j t j j t j � � } t j j | d � } t � rU t j j | � rU t St
Sd S( s?
Return True if in a venv and no system site packages.
s no-global-site-packages.txtN( t ost patht dirnamet abspatht sitet __file__t joinR t isfileR R ( t site_mod_dirt no_global_file( ( s= /tmp/pip-install-ewDPok/pip/pip/_internal/utils/virtualenv.pyt virtualenv_no_global s
!( t os.pathR R
R R R ( ( ( s= /tmp/pip-install-ewDPok/pip/pip/_internal/utils/virtualenv.pyt <module> s