%PDF- %PDF-
Direktori : /usr/lib/python2.7/site-packages/pip/commands/ |
Current File : //usr/lib/python2.7/site-packages/pip/commands/wheel.pyo |
� ��abc @@ s� d d l m Z d d l Z d d l Z d d l Z d d l m Z d d l m Z m 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 m Z d d l m Z e j e � Z d e f d � � YZ d S( i ( t absolute_importN( t RequirementCommand( t CommandErrort PreviousBuildDirError( t RequirementSet( t import_or_raise( t BuildDirectory( t RemovedInPip10Warning( t WheelCachet WheelBuilder( t cmdoptionst WheelCommandc B@ s; e Z d Z d Z d Z d Z d � Z d � Z d � Z RS( s� 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: https://wheel.readthedocs.io/en/latest/ Requirements: setuptools>=0.8, and wheel. 'pip wheel' uses the bdist_wheel setuptools extension from the wheel package to build individual wheels. t wheels� %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> ...s$ Build wheels from your requirements.c O@ s� t t | � j | | � | j } | j d d d d d d d t j d d �| j t j � � | j t j � � | j t j � � | j t j � � | j d d d d d d d d d �| j t j � � | j t j � � | j t j � � | j t j � � | j t j � � | j t j � � | j t j � � | j d d d d d d d d d �| j d d d d t d d �| j t j � � | j t j � � t j t j | j � } | j j d | � | j j d | � d S( Ns -ws --wheel-dirt destt wheel_dirt metavart dirt defaultt helpsL Build wheels into <dir>, where the default is the current working directory.s --build-optiont build_optionst optionst actiont appends9 Extra arguments to be supplied to 'setup.py bdist_wheel'.s --global-optiont global_optionssZ Extra global options to be supplied to the setup.py call before the 'bdist_wheel' command.s --pret store_truesY Include pre-release and development versions. By default, pip only finds stable versions.i ( t superR t __init__t cmd_optst add_optiont ost curdirR t use_wheelt no_use_wheelt no_binaryt only_binaryt constraintst editablet requirementst srct ignore_requires_pythont no_depst build_dirt Falset no_cleant require_hashest make_option_groupt index_groupt parsert insert_option_group( t selft argst kwR t index_opts( ( s6 /usr/lib/python2.7/site-packages/pip/commands/wheel.pyR . sV c C@ sD t d t d � t d t d � } t | d � s@ t d � � n d S( Ns wheel.bdist_wheelsM 'pip wheel' requires the 'wheel' package. To fix this, run: pip install wheelt pkg_resourcessp 'pip wheel' requires setuptools >= 0.8 for dist-info support. To fix this, run: pip install --upgrade setuptoolst DistInfoDistribution( R R t hasattr( R1 R5 ( ( s6 /usr/lib/python2.7/site-packages/pip/commands/wheel.pyt check_required_packagesh s c C@ s| | j � t j | � t j | � | j r@ t j d t � n | j r\ t j d t � n | j rx t j d t � n | j g | j } | j r� t j d d j | � � g } n | j r� t j j | j � | _ n t j j | j � | _ | j | � �u} | j | | � } | j p%| j } t | j | j � } t | j d | ��} t d | d | j d d d | j d t d | j d | j! d | d | d | j"