| Server IP : 93.115.150.27 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux host2.azar.host 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 User : dorfakkh ( 1797) PHP Version : 8.1.34 Disable Function : show_source, system, passthru, exec, popen, proc_open, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/lib/python3.6/site-packages/pip/__pycache__/ |
Upload File : |
3
�Pf� �
@ s d Z ddlmZ ddlZddlZddlZddlZddlmZ ddl m
Z
mZ ddlm
Z
mZ ddlmZ ejd�Zd Zd
Zdd� Zd
d� Zdd� Ze� r�ejjejd�Zn6yejjej� d�ZW n ek
r� ejd� Y nX ejje�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 C s2 t jj| t�}t|d��}|jt� W dQ R X dS )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_file s r c 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�getattrr r r r �running_under_virtualenv'