Re" @ 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) )absolute_importN)Command)
PackageFinder)logger)CommandErrorPreviousBuildDirError)InstallRequirementRequirementSetparse_requirements)BuildDirectorynormalize_path)WheelBuilder)
cmdoptionsZ
wheelhousec sF e Z d Z d Z d Z d Z d Z f d d Z d d Z S) WheelCommanda
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.
wheelz
%prog [options] ...
%prog [options] -r ...
%prog [options] ...
%prog [options] ...
%prog [options] ...z$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)Nz-wz--wheel-dirdest wheel_dirmetavardirdefaulthelpzABuild wheels into , where the default is '/wheelhouse'.z--build-option
build_optionsoptionsactionappendz9Extra arguments to be supplied to 'setup.py bdist_wheel'.z--global-optionglobal_optionszZExtra global options to be supplied to the setup.py call before the 'bdist_wheel' command.z--pre
store_trueFzYInclude pre-release and development versions. By default, pip only finds stable versions.r )superr __init__cmd_opts
add_optionDEFAULT_WHEEL_DIRr use_wheelmakeno_use_wheelrequirementsdownload_cacheno_deps build_dirno_cleanmake_option_groupindex_groupparserinsert_option_group)selfargskwr
index_opts) __class__ -/tmp/pip-ztkk0jow-build/pip/commands/wheel.pyr ( sF zWheelCommand.__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 d | d | j }
t j j! | j s t j" | j n x' | D] } |
j# t$ j% | d q'Wxj | j&