관리-도구
편집 파일: install.cpython-34.pyc
� �Re�5 � @ s� d d l Z d d l Z d d l Z d d l Z d d l m Z m Z m Z d d l m Z d d l m Z m Z m Z m Z d d l m Z d d l m Z d d l m Z m Z m Z d d l m Z d d l m Z Gd d � d e � Z d S)� N)�InstallRequirement�RequirementSet�parse_requirements)�logger)� src_prefix�virtualenv_no_global�distutils_scheme�build_prefix)�Command)� PackageFinder)�InstallationError�CommandError�PreviousBuildDirError)� cmdoptions)�BuildDirectoryc sX e Z d Z d Z d Z d Z d Z d Z � f d d � Z d d � Z d d � Z � S)�InstallCommandaI Install packages from: - PyPI (and other indexes) using requirement specifiers. - VCS project urls. - Local project directories. - Local or remote source archives. pip also supports installing from "requirements files", which provide an easy way to specify a whole environment to be installed. �installz� %prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] [-e] <vcs project url> ... %prog [options] [-e] <local project path> ... %prog [options] <archive url/path> ...zInstall packages.Fc sh t t | � j | | � | j } | j d d d d d d d g d d d d �| j t j j � � | j t j j � � | j d d d d d d d d d d �| j d d d d d d d d d d d d �| j t j j � � | j d d d d d d d d d t d d �| j d d d d d d d d! �| j d"