File: //lib/python3/dist-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc
�
��h� � �� � d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlm Z d dl
mZmZ d dl
mZ d dlmZ d d lmZ d d
lmZmZmZ d dlmZ e j2 e� Z G d� d
e� Zy)� N)�Values)�List)�
cmdoptions)�make_target_python)�RequirementCommand�with_cleanup)�SUCCESS)�get_build_tracker)�check_legacy_setup_py_options)�
ensure_dir�normalize_path�write_output)�
TempDirectoryc �@ � e Zd ZdZdZd d�Zededee de
fd�� Zy)
�DownloadCommandaL
Download packages from:
- PyPI (and other indexes) using requirement specifiers.
- VCS project urls.
- Local project directories.
- Local or remote source archives.
pip also supports downloading from "requirements files", which provide
an easy way to specify a whole environment to be downloaded.
a
%prog [options] <requirement specifier> [package-index-options] ...
%prog [options] -r <requirements file> [package-index-options] ...
%prog [options] <vcs project url> ...
%prog [options] <local project path> ...
%prog [options] <archive url/path> ...�returnNc
�$ � | j j t j � � | j j t j � � | j j t j
� � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j"