uawdijnntqw1x1x1
IP : 18.224.65.100
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
..
/
lib
/
python3.6
/
site-packages
/
pip
/
__pycache__
/
.
/
locations.cpython-36.pyc
/
/
3 ���^�� @sdZddlmZddlZddlZddlZddlZddlmZddl m Z mZddlm Z mZddlmZejd�Zd Zd Zdd�Zd d�Zdd�Ze�r�ejjejd�Zn6yejjej�d�ZWnek r�ejd�YnXejje�Zej �Z!ej"Z#ed�Z$e �rtejjejd�Z%ejje#d�Z&ejj'e%��sRejjejd�Z%ejje#d�Z&dZ(ejje$d�Z)ejje)e(�Z*njejjejd�Z%ejje#d�Z&dZ(ejje$d�Z)ejje)e(�Z*ej+dd�dk�r�ejdd�dk�r�dZ%dd�ej,d�D�Z-d#d!d"�Z.dS)$z7Locations where we look for configs, install stuff, etc�)�absolute_importN)� sysconfig)�install�SCHEME_KEYS)�WINDOWS� expanduser)�appdirsZpipz�This file is placed here by pip to indicate the source was put here by pip. Once this package is successfully installed this source code will be deleted (unless you remove this file). zpip-delete-this-directory.txtc Cs2tjj|t�}t|d��}|jt�WdQRXdS)z? Write the pip delete marker file into this directory. �wN)�os�path�join�PIP_DELETE_MARKER_FILENAME�open�write�DELETE_MARKER_MESSAGE)Z directory�filepathZ marker_fp�r�/usr/lib/python3.6/locations.py�write_delete_marker_filesrcCs*ttd�rdStjttdtj�kr&dSdS)zM Return True if we're running inside a virtualenv, False otherwise. Zreal_prefixT�base_prefixF)�hasattr�sys�prefix�getattrrrrr�running_under_virtualenv's rcCs>tjjtjjtj��}tjj|d�}t�r:tjj|�r:dSdS)z? Return True if in a venv and no system site packages. zno-global-site-packages.txtTN) r r�dirname�abspath�site�__file__rr�isfile)Zsite_mod_dirZno_global_filerrr�virtualenv_no_global4sr �srcz=The folder you are executing pip from can no longer be found.�~ZScripts�binzpip.inizpip.confz.pip��darwin�z/System/Library/z/usr/local/bincCsg|]}tjj|t��qSr)r rr�config_basename)�.0rrrr� <listcomp>wsr)FcCshddlm}i}|r ddgi}ni}d|i} | j|�|| �} | j�| jddd�}|oZ|sntd j||���|pv|j|_|r�d |_|p�|j|_|p�|j |_ |p�|j |_ |j�xtD]}t |d|�||<q�Wd| jd�kr�|jt|j|jd ��t��rdtjjtjdddtjdd�|�|d<|dk �rdtjjtjj|d��d} tjj|| dd��|d<|S)z+ Return a distutils install scheme r)�DistributionZscript_argsz --no-user-cfg�namerT)Zcreatezuser={0} prefix={1}�Zinstall_�install_lib)�purelib�platlib�includer�pythonN�Zheaders�)Zdistutils.distr*�updateZparse_config_filesZget_command_obj�AssertionError�format�userr�home�rootZfinalize_optionsrrZget_option_dict�dictr-rr rrr�version� splitdriver)Z dist_namer7r8r9�isolatedrr*�schemeZextra_dist_argsZ dist_args�d�i�keyZ path_no_driverrr�distutils_scheme|sH rB)FNNFN)/�__doc__Z __future__rr Zos.pathrrZ distutilsrZdistutils.command.installrrZ pip.compatrrZ pip.utilsrZuser_cache_dirZUSER_CACHE_DIRrr rrr rrrZ src_prefix�getcwd�OSError�exitrZget_python_libZ site_packages� USER_SITE� user_siteZuser_dirZbin_pyZbin_user�existsr'Zlegacy_storage_dirZlegacy_config_file�platformZsite_config_dirsZsite_config_filesrBrrrr�<module>sd (
/home/../lib/python3.6/site-packages/pip/__pycache__/./locations.cpython-36.pyc