????

Your IP : 216.73.216.152


Current Path : /usr/lib/python2.7/site-packages/wheel/
Upload File :
Current File : //usr/lib/python2.7/site-packages/wheel/egg2wheel.pyc

�
��]c@s�ddlZddlZddlZddlZddlZddlZddlZddl	Z
ddlmZddl
mZddlmZejdej�Zd�Zd�Zedkr�e�ndS(	i����N(tmake_archive(tArgumentParser(tiglobsF(?P<name>.+?)-(?P<ver>.+?)
    (-(?P<pyver>.+?))?(-(?P<arch>.+?))?.eggcCsAtjtjj|��j�}tjdd�}tjj|�rdt	j
|�}|j|�nsxptj|�D]_}tjj
||�}tjj|�r�tj||�qttj|tjj
||��qtWd|d|df}d}|djdd	�}	|d
pdjdd�jd
d�}
|
dkrPd|	d}	nd
j
||	||
f�}tjjtjj��}|d
dk|_tjj
|d|�}
|jtjj
|d�|
�|j|
dd�|j||
�ttjj
||�dd|�}tj||d d�tj|�dS(Ntsuffixt_e2ws%s-%stnametvertnonetpyvert.ttarchtanyt_t-tcpis%s.dist-infosEGG-INFOt	generatort	egg2wheeltziptroot_diri����twhl(tegg_info_retmatchtostpathtbasenamet	groupdictttempfiletmkdtemptisfiletzipfiletZipFilet
extractalltlistdirtjointshutiltcopy2tcopytreetreplacetwheeltbdist_wheelt	distutilstdisttDistributiontNonetroot_is_purelibtegg2disttwrite_wheelfiletwrite_recordRtrenametrmtree(tegg_pathtdest_dirtegg_infotdirteggtpthtsrct	dist_infotabiRRt
wheel_nametbwt
dist_info_dirtfilename((s./tmp/pip-build-tmgNo5/wheel/wheel/egg2wheel.pyRs>!#($cCs�t�}|jddddd�|jdddtjjdd	�|jd
ddd
�|j�}xy|jD]n}xet|�D]W}|jr�t	j
jdj|��nt
||j�|jr�t	j
jd�q�q�WqpWdS(Nteggstnargst*thelpsEggs to converts
--dest-dirs-dtdefaults/Directory to store wheels (default %(default)s)s	--verboses-vtactiont
store_trues{0}... sOK
(Rtadd_argumentRRtcurdirt
parse_argsR@RtverbosetsyststdouttwritetformatRR4(tparsertargstpatR7((s./tmp/pip-build-tmgNo5/wheel/wheel/egg2wheel.pytmain9s			t__main__(tos.pathRtreRKRRtwheel.bdist_wheelR'R#tdistutils.distR)tdistutils.archive_utilRtargparseRtglobRtcompiletVERBOSERRRRt__name__(((s./tmp/pip-build-tmgNo5/wheel/wheel/egg2wheel.pyt<module>s 	(