HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/pip/operations/__pycache__/freeze.cpython-36.pyc
3

g
�dJ�	@s�ddlmZddlZddlZddlZddlmZddlmZddl	m
Z
ddlmZddl
mZddlmZeje�Zddddddd	dff	d
d�ZdS)�)�absolute_importN)�InstallRequirement)�
COMMENT_RE)�get_installed_distributions)�
pkg_resources)�canonicalize_name)�RequirementParseErrorFc	cs�|pg}d}	|rtj|�j}	g}
x(tjD]}|jd�r(|
j|jd��q(Wx|D]}d|krP|
j|�qPWx|D]}d|VqpWi}
xXt	|f|d�D]F}yt
jj||
�}Wn$t
k
r�tjd|j�w�YnX||
|j<q�W|�rvt�}�x�|D�]v}t|���b}�xX|D�]N}|j��sL|j�jd��sL|	�r@|	|��sL|jd!��rr|j�}||k�r|j|�|V�q|jd��s�|jd��r�|jd��r�|dd�j�}n|td�d�j�jd�}tj||||d�}ntjtjd|�j�||d�}|j�stjd||j��tjd�nD|j|
k�r@tjd|tjd|�j��nt |
|j�j�V|
|j=�qWWdQRXq�WdVx<t!|
j"�dd�d �D]$}t#|j�|k�r�t |�j�V�q�WdS)"Nzdependency_links.txtz#egg=z-f %s)�
local_only�skip�	user_onlyzCould not parse requirement: %s�#�-r�
--requirement�-Z�--always-unzip�-f�--find-links�-i�--index-url�--pre�--trusted-host�--process-dependency-links�--extra-index-urlz-ez
--editable��=)�default_vcs�isolated�wheel_cache�)rrzWSkipping 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)zDRequirement file [%s] contains %s, but that package is not installedz7## The following requirements were added by pip freeze:cSs
|jj�S)N)�name�lower)�x�r"�/usr/lib/python3.6/freeze.py�<lambda>�szfreeze.<locals>.<lambda>)�key)r
rrrrrrrrrrr)$�re�compile�searchrZworking_setZhas_metadata�extendZget_metadata_lines�appendr�pipZFrozenRequirementZ	from_distr�loggerZwarningZproject_namer�set�open�strip�
startswith�rstrip�add�len�lstriprZ
from_editableZ	from_liner�sub�info�str�sorted�valuesr)ZrequirementZ
find_linksr	rZ
skip_regexrrrr
Z
skip_matchZdependency_linksZdist�linkZ
installationsZreqZemitted_optionsZ
req_file_pathZreq_file�lineZline_reqZinstallationr"r"r#�freezes�






r<)Z
__future__rZloggingr&r+Zpip.reqrZpip.req.req_filerZ	pip.utilsrZpip._vendorrZpip._vendor.packaging.utilsrZpip._vendor.pkg_resourcesrZ	getLogger�__name__r,r<r"r"r"r#�<module>s