HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/alt/python33/lib/python3.3/site-packages/pip/commands/__pycache__/show.cpython-33.pyc
�
��Re�
c@snddlZddlmZddlmZddlmZGdd�de�Zdd�Zd	d
�Z	dS(iN(uCommand(ulogger(u
pkg_resourcescsJ|EeZdZdZdZdZdZ�fdd�Zdd�Z�S(	uShowCommandu6Show information about one or more installed packages.ushowu$
      %prog [options] <package> ...u*Show information about installed packages.cs^tt|�j||�|jjdddddddddd	�|jjd
|j�dS(Nu-fu--filesudestufilesuactionu
store_trueudefaultuhelpu7Show the full list of installed files for each package.iF(usuperuShowCommandu__init__ucmd_optsu
add_optionuFalseuparseruinsert_option_group(uselfuargsukw(u	__class__(u*/tmp/pip-68u76p-build/pip/commands/show.pyu__init__s		uShowCommand.__init__cCs=|stjd�dS|}t|�}t||j�dS(Nu.ERROR: Please provide a package name or names.(uloggeruwarnusearch_packages_infou
print_resultsufiles(uselfuoptionsuargsuqueryuresults((u*/tmp/pip-68u76p-build/pip/commands/show.pyuruns
uShowCommand.run(	u__name__u
__module__u__qualname__u__doc__unameuusageusummaryu__init__urun(u
__locals__((u	__class__u*/tmp/pip-68u76p-build/pip/commands/show.pyuShowCommandsuShowCommandccs�tdd�tjD��}x�|D]�}|j�}||kr#||}i|jd6|jd6|jd6dd�|j�D�d6}tj	j
|j|j�dd	�}tj	j|�r�||d
<n|Vq#q#WdS(u�
    Gather details from installed distributions. Print distribution name,
    version, location, and installed files. Installed files requires a
    pip generated 'installed-files.txt' in the distributions '.egg-info'
    directory.
    cSs%g|]}|jj�|f�qS((uproject_nameulower(u.0up((u*/tmp/pip-68u76p-build/pip/commands/show.pyu
<listcomp>,s	u(search_packages_info.<locals>.<listcomp>unameuversionulocationcSsg|]}|j�qS((uproject_name(u.0udep((u*/tmp/pip-68u76p-build/pip/commands/show.pyu
<listcomp>5s	urequiresu	.egg-infouinstalled-files.txtufilesN(
udictu
pkg_resourcesuworking_setuloweruproject_nameuversionulocationurequiresuosupathujoinuegg_nameuisfile(uqueryuinstalled_packagesunameunormalized_nameudistupackageufilelist((u*/tmp/pip-68u76p-build/pip/commands/show.pyusearch_packages_info$s$




	
	
usearch_packages_infocCs�x�|D]�}tjd�tjd|d�tjd|d�tjd|d�tjdd	j|d
��|rtjd�d|kr�x?t|d�D]}tjd
|j��q�Wq�tjd�qqWdS(uD
    Print the informations from installed distributions found.
    u---uName: %sunameuVersion: %suversionuLocation: %sulocationuRequires: %su, urequiresuFiles:ufilesu  %su!Cannot locate installed-files.txtN(uloggerunotifyujoinuopenustrip(u
distributionsulist_all_filesudistuline((u*/tmp/pip-68u76p-build/pip/commands/show.pyu
print_results@s


u
print_results(
uosupip.basecommanduCommandupip.loguloggerupip._vendoru
pkg_resourcesuShowCommandusearch_packages_infou
print_results(((u*/tmp/pip-68u76p-build/pip/commands/show.pyu<module>s