관리-도구
편집 파일: hash.cpython-38.pyc
U ��.e� � @ s� d dl mZ d dlZd dlZd dlZd dlmZ d dlmZ d dl m Z mZ d dlm Z mZ e�e�ZG dd� de�Zd d � ZdS )� )�absolute_importN)�Command)�ERROR)� FAVORITE_HASH� STRONG_HASHES)�read_chunks�write_outputc s0 e Zd ZdZdZdZ� fdd�Zdd� Z� ZS )�HashCommandz� Compute a hash of a local package archive. These can be used with --hash in a requirements file to do repeatable installs. z%prog [options] <file> ...Tc sJ t t| �j||� | jjdddtdtdd�t� d� | j� d| j� d S ) Nz-az--algorithm� algorithmZstorez$The hash algorithm to use: one of %sz, )�dest�choices�action�default�helpr ) �superr �__init__Zcmd_optsZ add_optionr r �join�parserZinsert_option_group)�self�args�kw�� __class__� �?/usr/lib/python3.8/site-packages/pip/_internal/commands/hash.pyr s ��zHashCommand.__init__c C s>