| Server IP : 46.245.81.90 / Your IP : 216.73.216.85 Web Server : Apache System : Linux server3ir.xdlhost.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64 User : gmparts ( 1037) PHP Version : 8.1.34 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/usr/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'