| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/pip/commands/__pycache__/ |
Upload File : |
3
�υ_ � @ sd d dl mZ d dlZd dlZd dlmZ d dlmZ d dlm Z d dl
mZ d
ZG dd� de�Z
dS )� )�absolute_importN)�stdlib_pkgs)�Command)�freeze)�
WheelCache�pip�
setuptools�
distribute�wheelc s8 e Zd ZdZdZdZdZd
Z� fdd�Zdd � Z � Z
S )�
FreezeCommandzx
Output installed packages in requirements format.
packages are listed in a case-insensitive sorted order.
r z
%prog [options]z1Output installed packages in requirements format.�ext://sys.stderrc s� t t| �j||� | jjddddg ddd� | jjdd d
dg ddd� | jjd
dddddd� | jjdddddd� | jjdddddjt� d� | jjd| j� d S )Nz-rz
--requirement�requirements�append�filez}Use the order in the given requirements file and its comments when generating output. This option can be used multiple times.)�dest�action�default�metavar�helpz-fz--find-links�
find_linksZURLz<URL for finding packages, which will be added to the output.z-lz--local�local�
store_trueFzUIf in a virtualenv that has global access, do not output globally-installed packages.)r r r r z--user�userz,Only output packages installed in user-site.z--all�
freeze_allz,Do not skip these packages in the output: %sz, )r r r r ) �superr �__init__Zcmd_optsZ
add_option�join�DEV_PKGS�parserZinsert_option_group)�self�args�kw)� __class__� �/usr/lib/python3.6/freeze.pyr sD zFreezeCommand.__init__c
C s� t jjt� t� �}t|j|�}tt�}|js6|jt � t
|j|j|j
|j|j|j||d�}x"tf |�D ]}tjj|d � qfW d S )N)Zrequirementr Z
local_onlyZ user_onlyZ
skip_regex�isolated�wheel_cache�skip�
)r �indexZ
FormatControl�setr � cache_dirr r �updater �dictr
r r r Zskip_requirements_regexZ
isolated_moder �sys�stdout�write)r Zoptionsr Zformat_controlr&