403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.6/site-packages/pip/_internal/operations/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.6/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-36.pyc
3

�N�a*&�
@s0ddlZddlZddlZddlmZmZmZmZmZm	Z	m
Z
mZddlm
Z
ddlmZddlmZmZddlmZmZddlmZmZddlmZdd	lmZeje�ZGd
d�de	�Z ddddddffe
ee!e"e"e
ee!e"e"ee!ee!d
�dd�Z#ee!d�dd�Z$ee d�dd�Z%Gdd�d�Z&dS)�N)�	Container�Dict�Iterable�Iterator�List�
NamedTuple�Optional�Set)�canonicalize_name)�Version)�
BadCommand�InstallationError)�BaseDistribution�get_environment)�install_req_from_editable�install_req_from_line)�
COMMENT_RE)�%direct_url_as_pep440_direct_referencec@seZdZUeeedS)�
_EditableInfoN)�__name__�
__module__�__qualname__�str�requirementr�comments�rr�/usr/lib/python3.6/freeze.pyrs
rF)r�
local_only�	user_only�paths�isolated�exclude_editable�skip�returnccsti}t|�j|f|d�}x,|D]$}	tj|	�}
|r8|
jr8q|
||
j<qW|�r6t�}tjt	�}�x�|D�]�}
t
|
���p}�xf|D�]\}|j�s�|j�jd�s�|jd�r�|j
�}||kr~|j|�|Vq~|jd�s�|jd��r$|jd��r�|dd�j�}n|td�d�j�jd�}t||d�}nttjd|�j�|d�}|j�sbtjd|
|j��tjd�q~t|j�}||k�r�||j�s�tjd|
tjd|�j�|j�n||jj|
�q~t||�j
�V||=||jj|
�q~WWdQRXqdWx@|j�D]4\}}t|�dk�r�tjd|djtt|�����q�WdVx8t|j�dd�d�D] }|j|k�rLt|�j
�V�qLWdS)N)rr"r�#�-r�
--requirement�-f�--find-links�-i�--index-url�--pre�--trusted-host�--process-dependency-links�--extra-index-url�
--use-featurez-ez
--editable��=)r �zWSkipping line in requirement file [%s] because it's not clear what it would install: %sz9  (add #egg=PackageName to the URL to avoid this warning)zBRequirement file [%s] contains %s, but package %r is not installed�z+Requirement %s included multiple times [%s]z, z7## The following requirements were added by pip freeze:cSs
|jj�S)N)�name�lower)�xrrr�<lambda>�szfreeze.<locals>.<lambda>)�key)r%r&r'r(r)r*r+r,r-r.r/) rZiter_installed_distributions�FrozenRequirement�	from_dist�editable�canonical_name�set�collections�defaultdict�list�open�strip�
startswith�rstrip�add�len�lstriprrr�subr4�logger�infor
�warning�appendr�items�join�sorted�values)rrrrr r!r"Z
installationsZdists�dist�reqZemitted_optionsZ	req_filesZ
req_file_pathZreq_file�lineZline_reqZline_req_canonical_namer4�filesZinstallationrrr�freezes�	










"rU)rQr#cCs0t|jt�r|j�d|j��S|j�d|j��S)Nz==z===)�
isinstance�versionr�raw_name)rQrrr�_format_as_name_version�srYcCs�|j}|st�tjjtjj|��}ddlm}m}m	}|j
|�}|dkrtt|�}tj
d||�t|d|�d�gd�St|�j}y|j||j�}	Wn�|k
r�t|�}t|d|�d	|�d�gd�S|k
�r}
z0t|�}t|d|�d
|�d�d|
j�d
�gd�Sd}
~
Xnhtk
�r<tjd||j�t|gd�Stk
�rj}ztjd|�WYdd}~XnXt|	gd�Stjd|�t|dgd�S)za
    Compute and return values (req, comments) for use in
    FrozenRequirement.from_dist().
    r)�RemoteNotFoundError�RemoteNotValidError�vcsNz1No VCS found for editable requirement "%s" in: %rz,# Editable install with no version control (�))rrz# Editable z install with no remote (z
 install (z4) with either a deleted local remote or invalid URI:z# '�'zPcannot determine version of editable source in %s (%s command not found in path)z6Error when trying to get requirement for VCS system %sz-Could not determine repository location of %sz-## !! Could not determine repository location)�editable_project_location�AssertionError�os�path�normcase�abspathZpip._internal.vcsrZr[r\Zget_backend_for_dirrYrI�debugr�typerZget_src_requirementrXZurlrrKr4r
)rQr_�locationrZr[r\Zvcs_backendZdisplayZvcs_namerRZex�excrrr�_get_editable_info�sR

ric@sLeZdZffeeeeedd�dd�Zeedd�dd��Z	ed�d	d
�Z
dS)r9N)r4rRr;rr#cCs&||_t|�|_||_||_||_dS)N)r4r
r<rRr;r)�selfr4rRr;rrrr�__init__�s

zFrozenRequirement.__init__)rQr#cCsN|j}|rt|�\}}n$g}|j}|r4t||j�}nt|�}||j|||d�S)N)r)r;ri�
direct_urlrrXrY)�clsrQr;rRrrlrrrr:�szFrozenRequirement.from_dist)r#cCs4|j}|jrd|��}djt|j�t|�g�dS)Nz-e �
)rRr;rNr@rr)rjrRrrr�__str__�s
zFrozenRequirement.__str__)rrrr�boolrrk�classmethodrr:rorrrrr9�s
r9)'r>ZloggingraZtypingrrrrrrrr	Zpip._vendor.packaging.utilsr
Zpip._vendor.packaging.versionrZpip._internal.exceptionsrr
Zpip._internal.metadatarrZpip._internal.req.constructorsrrZpip._internal.req.req_filerZ&pip._internal.utils.direct_url_helpersrZ	getLoggerrrIrrrprUrYrir9rrrr�<module>s.(
&qB

Youez - 2016 - github.com/yon3zu
LinuXploit