관리-도구
편집 파일: virtualenv.cpython-38.pyc
U ��.e{ � @ s, d dl Zd dlZd dlZdd� Zdd� ZdS )� Nc C s* t td�rdS tjttdtj�kr&dS dS )zM Return True if we're running inside a virtualenv, False otherwise. Zreal_prefixT�base_prefixF)�hasattr�sys�prefix�getattr� r r �B/usr/lib/python3.8/site-packages/pip/_internal/utils/virtualenv.py�running_under_virtualenv s r c C sB t j�t j�tj��} t j�| d�}t� r:t j�|�r:dS dS dS )z? Return True if in a venv and no system site packages. zno-global-site-packages.txtTFN) �os�path�dirname�abspath�site�__file__�joinr �isfile)Zsite_mod_dirZno_global_filer r r �virtualenv_no_global s r )Zos.pathr r r r r r r r r �<module> s