관리-도구
편집 파일: wheel.cpython-33.pyc
� 7�Re" c @ s� d d l m 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 m Z d d l m Z m Z m Z d d l m Z m Z d d l m Z d d l m Z e j j e e j � d � Z Gd d � d e � Z d S( i ( u absolute_importN( u Command( u PackageFinder( u logger( u CommandErroru PreviousBuildDirError( u InstallRequirementu RequirementSetu parse_requirements( u BuildDirectoryu normalize_path( u WheelBuilder( u cmdoptionsu wheelhousec sJ | Ee Z d Z d Z d Z d Z d Z � f d d � Z d d � Z � S( u WheelCommandu� Build Wheel archives for your requirements and dependencies. Wheel is a built-package format, and offers the advantage of not recompiling your software during every install. For more details, see the wheel docs: http://wheel.readthedocs.org/en/latest. Requirements: setuptools>=0.8, and wheel. 'pip wheel' uses the bdist_wheel setuptools extension from the wheel package to build individual wheels. u wheelu� %prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] <vcs project url> ... %prog [options] <local project path> ... %prog [options] <archive url/path> ...u$ Build wheels from your requirements.c s� t t | � j | | � | j } | j d d d d d d d t d d �| j t j j � � | j t j j � � | j d d d d d d d d d �| j t j j � � | j t j j � � | j t j j � � | j t j j � � | j d d d d d d d d d �| j d d d d d d d �| j t j j � � t j t j | j � } | j j d | � | j j d | � d S( Nu -wu --wheel-diru destu wheel_diru metavaru diru defaultu helpuA Build wheels into <dir>, where the default is '<cwd>/wheelhouse'.u --build-optionu build_optionsu optionsu actionu appendu9 Extra arguments to be supplied to 'setup.py bdist_wheel'.u --global-optionu global_optionsuZ Extra global options to be supplied to the setup.py call before the 'bdist_wheel' command.u --preu store_trueuY Include pre-release and development versions. By default, pip only finds stable versions.i F( u superu WheelCommandu __init__u cmd_optsu add_optionu DEFAULT_WHEEL_DIRu cmdoptionsu use_wheelu makeu no_use_wheelu requirementsu download_cacheu no_depsu build_diru Falseu no_cleanu make_option_groupu index_groupu parseru insert_option_group( u selfu argsu kwu cmd_optsu index_opts( u __class__( u+ /tmp/pip-zej_zi-build/pip/commands/wheel.pyu __init__( sF u WheelCommand.__init__c . C su y d d l } Wn t k r0 t d � � Yn Xy d d l } Wn t k ra t d � � Yn Xt | d � s� t d � � n | j g | j } | j r� t j d d j | � � g } n | j r� t j d d � n | j rt j d d � | | j 7} n | j r(t j j | j � | _ n | j | � } t d | j d | d | j d | j d | j d | j d | j d | j d | � } | j p�| j } t | j d | ���} t d | d d d d d | j d | j d d"