Server IP : 172.67.214.6 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python34/lib/python3.4/site-packages/pip/commands/__pycache__/ |
Upload File : |
� �Re8 � @ s� d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z Gd d � d e � Z d S) � N)�InstallRequirement)�logger)�Command)�get_installed_distributions)� pkg_resourcesc sR e Z d Z d Z d Z d Z d Z � f d d � Z d d � Z d d � Z � S) � FreezeCommandz1Output installed packages in requirements format.�freezez %prog [options]c s� t t | � j | | � | j j d d d d d d d d d d d d �| j j d d d d d d d g d d d d �| j j d d d d d d d d d d �| j j d | j � d S)Nz-rz --requirement�dest�requirement�action�store�default�metavar�file�helpzVUse the order in the given requirements file and it's comments when generating output.z-fz--find-links� find_links�append�URLz<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 )�superr �__init__�cmd_opts� add_option�parser�insert_option_group)�self�args�kw)� __class__� �./tmp/pip-ztkk0jow-build/pip/commands/freeze.pyr s, zFreezeCommand.__init__c C s t j � d S)N)r �move_stdout_to_stderr)r r r r! � setup_logging- s zFreezeCommand.setup_loggingc C s� | j } | j p g } | j } d } d } | j } | rN t j | � } n g } t j } x9 t j D]. } | j d � rg | j | j d � � qg qg Wx* | D]"