ó `8(Zc@sáddlZddlZddlZddlZddlZddlZddlZddl m Z ddl m Z ddl mZddlZddlmZejdejƒZd„Zd„Zed krÝeƒndS( iÿÿÿÿN(tArgumentParser(t make_archive(tiglob(t_bdist_wheel_tagsF(?P.+?)-(?P.+?) (-(?P.+?))?(-(?P.+?))?.eggcCs®tjtjj|ƒƒjƒ}tjddƒ}tjj|ƒrdt j |ƒ}|j |ƒnsxptj |ƒD]_}tjj ||ƒ}tjj|ƒr´tj||ƒqttj|tjj ||ƒƒqtWd|d|df}d}|djdd ƒ} |d pd jdd ƒjd d ƒ} | d krPd| d} nd j || || fƒ} |d dk} | rŸtjjtjjƒƒ} nttjjƒƒ} | | _| | _t| _|d pÜd | _| st| _| || f| _ntjj |d|ƒ}| j tjj |dƒ|ƒ| j!|ddƒ| j"||ƒt#tjj || ƒdd|ƒ}tj$||d dƒtj%|ƒdS(Ntsuffixt_e2ws%s-%stnametvertnonetpyvert.ttarchtanyt_t-tcpis %s.dist-infosEGG-INFOt generatort egg2wheeltziptroot_diriýÿÿÿtwhl(&t egg_info_retmatchtostpathtbasenamet groupdictttempfiletmkdtemptisfiletzipfiletZipFilet extractalltlistdirtjointshutiltcopy2tcopytreetreplacetNonetwheelt bdist_wheelt distutilstdistt DistributionRt root_is_puret python_tagtTruetplat_name_suppliedt plat_nametfull_tag_suppliedtfull_tagtegg2disttwrite_wheelfilet write_recordRtrenametrmtree(tegg_pathtdest_dirtegg_infotdirteggtpthtsrct dist_infotabiR R t wheel_nametroot_is_purelibtbwt dist_info_dirtfilename((s./tmp/pip-build-0nEYGB/wheel/wheel/egg2wheel.pyRsP!#(      $cCsætƒ}|jdddddƒ|jdddtjjdd ƒ|jd d d d ƒ|jƒ}xy|jD]n}xet|ƒD]W}|jr®t j j dj |ƒƒnt ||jƒ|jrƒt j j dƒ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_argsRHRtverbosetsyststdouttwritetformatRR;(tparsertargstpatR>((s./tmp/pip-build-0nEYGB/wheel/wheel/egg2wheel.pytmainIs    t__main__(tdistutils.distR+tos.pathRtreR$RSRRtargparseRtdistutils.archive_utilRtglobRtwheel.bdist_wheelR)twheel.wininst2wheelRtcompiletVERBOSERRRZt__name__(((s./tmp/pip-build-0nEYGB/wheel/wheel/egg2wheel.pyts"         5