ó â\e[c@sñddlZddlZddlZddlZddlZddlZddlZddl m Z ddl m Z ddl mZddlZddlmZddlmZejdejƒZd„Zd „Zed kríeƒndS( iÿÿÿÿN(tArgumentParser(t make_archive(tiglob(t WheelError(t_bdist_wheel_tags\ (?P.+?)-(?P.+?) (-(?Ppy\d\.\d) (-(?P.+?))? )?.egg$cCsËtjj|ƒ}tj|ƒ}|s?tdj|ƒƒ‚n|jƒ}tj ddƒ}tjj |ƒrŽt j |ƒ}|j |ƒnsxptj|ƒD]_}tjj||ƒ}tjj |ƒrÞtj||ƒqžtj|tjj||ƒƒqžW|d} | r&| jddƒ} n|dp3djdd ƒjd d ƒ} | dkrhd | d nd } |ddk} | r¢tjjtjjƒƒ} nttjjƒƒ} | | _| | _t| _|dpßd| _| s t| _ | | | f| _!ntjj|dj|ƒ}| j"tjj|dƒ|ƒ| j#|ddƒ| j$||ƒdj| | |}t%tjj||ƒdd|ƒ}tj&||d dƒtj'|ƒdS(NsInvalid egg file name: {}tsuffixt_e2wtpyvert.ttarchtanyt_t-tcpitnones{name}-{ver}.dist-infosEGG-INFOt generatort egg2wheels{name}-{ver}-{pyver}-{}-{}tziptroot_diriýÿÿÿtwhl((tostpathtbasenamet egg_info_retmatchRtformatt groupdictttempfiletmkdtemptisfiletzipfiletZipFilet extractalltlistdirtjointshutiltcopy2tcopytreetreplacetNonetwheelt bdist_wheelt distutilstdistt DistributionRt root_is_puret python_tagtTruetplat_name_suppliedt plat_nametfull_tag_suppliedtfull_tagtegg2disttwrite_wheelfilet write_recordRtrenametrmtree(tegg_pathtdest_dirtfilenameRtegg_infotdirteggtpthtsrcRR tabitroot_is_purelibtbwt dist_info_dirt wheel_name((s0/tmp/pip-install-0xiv62/wheel/wheel/egg2wheel.pyRsL # (     $cCsÝtƒ}|jdddddƒ|jdddtjjdd ƒ|jd d d d ƒ|jƒ}xp|jD]e}x\t|ƒD]N}|jr°dj |ƒGHt j j ƒnt ||jƒ|jrƒdGHqƒqƒWqpWdS(Nteggstnargst*thelpsEggs to converts --dest-dirs-dtdefaults/Directory to store wheels (default %(default)s)s --verboses-vtactiont store_trues{}... tOK(Rt add_argumentRRtcurdirt parse_argsRGRtverboseRtsyststdouttflushRR;(tparsertargstpatR?((s0/tmp/pip-install-0xiv62/wheel/wheel/egg2wheel.pytmainNs    t__main__(tdistutils.distR+tos.pathRtreR$RSRRtargparseRtdistutils.archive_utilRtglobRtwheel.bdist_wheelR)t wheel.toolRtwheel.wininst2wheelRtcompiletVERBOSERRRYt__name__(((s0/tmp/pip-install-0xiv62/wheel/wheel/egg2wheel.pyts$         6