| Server IP : 3.138.164.131 / Your IP : 216.73.216.136 Web Server : Apache System : Linux ns1.techtime.me 4.18.0-147.8.1.el8.lve.1.x86_64 #1 SMP Mon Jun 29 09:55:57 EDT 2020 x86_64 User : injazaat ( 1471) PHP Version : 8.1.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.6/site-packages/pip/__pycache__/ |
Upload File : |
3
)�]b� �
@ 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'