Edit File: wheel.pyc
� 3�abc�����������@���s����d��Z��d�d�l�m�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�m �Z �m �Z �m�Z�d�d�l�m �Z �d�d�l�m �Z�d�d�l�m�Z�d�d�l�m�Z�e�j�d �e�j���j�Z�d �Z�d����Z�d�e�f�d �������YZ�d�S(���s���Wheels support.i����(���t���get_platformN(���t���Distributiont���PathMetadatat ���parse_version(���t���PY3(���R���(���t ���pep425tags(���t���write_requirementss����^(?P<project_name>.+?)-(?P<version>\d.*?) ((-(?P<build>\d.*?))?-(?P<py_version>.+?)-(?P<abi>.+?)-(?P<platform>.+?) )\.whl$s����try: __import__('pkg_resources').declare_namespace(__name__) except ImportError: __path__ = __import__('pkgutil').extend_path(__path__, __name__) c���������C���sO��xt��j�|����D]��\�}�}�}�t��j�j�|�|����}�xK�|�D]C�}�t��j�j�|�|���}�t��j�j�|�|�|���}�t��j�|�|���q;�Wx�t�t�t�|�������D]e�\�} �} �t��j�j�|�| ���}�t��j�j�|�|�| ���}�t��j�j �|���s��t��j�|�|���|�| �=q��q��Wq�Wx@�t��j�|��d�t ��D])�\�}�}�}�|�s:t���t��j�|���qWd�S(���sD���Move everything under `src_dir` to `dst_dir`, and delete the former.t���topdownN( ���t���ost���walkt���patht���relpatht���joint���renamest���reversedt���listt ���enumeratet���existst���Truet���AssertionErrort���rmdir(���t���src_dirt���dst_dirt���dirpatht���dirnamest ���filenamest���subdirt���ft���srct���dstt���nt���d(����(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyt���unpack���s���� %% t���Wheelc�����������B���s5���e��Z�d�����Z�d����Z�d����Z�d����Z�d����Z�RS(���c���������C���sw���t��t�j�j�|�����}�|�d��k�r7�t�d�|�����n��|�|��_�x0�|�j����j����D]�\�}�}�t �|��|�|���qS�Wd��S(���Ns���invalid wheel name: %r( ���t ���WHEEL_NAMER���R ���t���basenamet���Nonet ���ValueErrort���filenamet ���groupdictt���itemst���setattr(���t���selfR&���t���matcht���kt���v(����(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyt���__init__7���s���� c���������C���s7���t��j�|��j�j�d���|��j�j�d���|��j�j�d�����S(���s>���List tags (py_version, abi, platform) supported by this wheel.t���.(���t ���itertoolst���productt ���py_versiont���splitt���abit���platform(���R*���(����(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyt���tags?���s����c������������s/���t��j�������t����f�d����|��j����D��t���S(���s5���Is the wheel is compatible with the current platform?c���������3���s!���|��]�}�|����k�r�t��Vq�d��S(���N(���R���(���t���.0t���t(���t���supported_tags(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pys ���<genexpr>H���s����(���R���t ���get_supportedt���nextR6���t���False(���R*���(����(���R9���s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyt ���is_compatibleE���s����c���������C���sA���t��d�|��j�d�|��j�d�|��j�d�k�r-�d��n�t������j����d�S(���Nt���project_namet���versionR5���t���anys���.egg(���R���R>���R?���R5���R$���R����t���egg_name(���R*���(����(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyRA���J���s����$c������������s��t��j�|��j������d�|��j�|��j�f�}�d�|���d�|�������f�d����}�|�d���}�|�d���}�t�|�j�d�����}�t�d���|�k�o��t�d ���k��n�s��t�d �|�����n��t�j �|�����j �|���t�j�j�|�������t �j�|���d�t�|���������d������t�t�t������j�������������������f�d �������j�D��}�t�j�j�|�d���}�t�j���|���t�j�t�j�j�|�d���t�j�j�|�d�����t�d�t�d���d�|�����} �t�| �j�d���d�t�j�j�|�d�����t�j�j�|�������t�j�j���d���} �t�j�j�| ���r�t�j�j�|�d�d���}�t�j �|���xs�t�j�| ���D]b�}�|�j�d���r�t�j�t�j�j�| �|�����q\t�j�t�j�j�| �|���t�j�j�|�|�����q\Wt�j�| ���n��x:�t �t�j�j���f�d����d!�D����D]�} �t!�| �|���q�Wt�j�j�����r1t�j�����n��t�j�j�|�d���}�t�j�j�|���rt"�|�����}�|�j#����j$����}�Wd�QXx��|�D]��}�t�j�j�|�|�j$�d�����}�t�j�j�|�d���}�t�j�j�|���r�t�j�j�|���r�t"�|�d �����}�|�j%�t&���Wd�QXq�q�Wn��Wd�QXd�S("���s"���Install wheel as an egg directory.s���%s-%ss���%s.dist-infos���%s.datac������������sc�����j��d����|��f����D�}�t�r7�|�j����j�d���n �|�j����}�t�j�j����j�|���SWd��QXd��S(���Ns���%s/%ss���utf-8(���t���openR���t���readt���decodet���emailt���parsert���Parsert���parsestr(���t���namet���fpt���value(���t ���dist_infot���zf(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyt���get_metadataV���s����'t���WHEELt���METADATAs ���Wheel-Versions���1.0s���2.0dev0s$���unsupported wheel format version: %st���metadatac���������S���s���d��|��_�t�|����S(���N(���R$���t���markert���str(���t���req(����(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyt���raw_reql���s���� c������ ������sJ���i��|��]@�}�t��t���f�d�����t������j�|�f�����D������|���q�S(���c���������3���s!���|��]�}�|����k�r�|�Vq�d��S(���N(����(���R7���RT���(���t���install_requires(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pys ���<genexpr>r���s���(���R���t���sortedt���mapt���requires(���R7���t���extra(���t���distRV���RU���(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pys ���<dictcomp>q���s��� s���EGG-INFOs���PKG-INFOt���attrsRV���t���extras_requiret���egg_infos���requires.txtt���scriptss���.pycc���������3���s$���|��]�}�t��j�j����|���Vq�d��S(���N(���R���R ���R���(���R7���R���(���t ���dist_data(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pys ���<genexpr>����s���t���datat���headerst���purelibt���platlibs���namespace_packages.txtNR/���s���__init__.pyt���w(���Ra���Rb���Rc���Rd���('���t���zipfilet���ZipFileR&���R>���R?���R���t���getR%���R���t���mkdirt ���extractallR ���R���R���t ���from_locationR���R���RW���RX���RY���t���extrast���renamet���SetuptoolsDistributiont���dictR���t���get_command_objR$���R���t���listdirt���endswitht���unlinkR���t���filterR ���RB���RC���R3���t���writet���NAMESPACE_PACKAGE_INIT(���R*���t���destination_eggdirt ���dist_basenameRN���t���wheel_metadatat ���dist_metadatat ���wheel_versionR]���R^���t ���setup_distt���dist_data_scriptst���egg_info_scriptst���entryR���t���namespace_packagesRJ���t���modt���mod_dirt���mod_init(����(���R[���R`���RL���RV���RU���RM���s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyt���install_as_eggP���sr���� ( ! %(���t���__name__t ���__module__R.���R6���R=���RA���R����(����(����(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyR!���5���s ��� (���t���__doc__t���distutils.utilR����RE���R0���R���t���reRf���t ���pkg_resourcesR���R���R���t���setuptools.extern.sixR���t ���setuptoolsRn���R���t���setuptools.command.egg_infoR���t���compilet���VERBOSER+���R"���Rv���R ���t���objectR!���(����(����(����s4���/usr/lib/python2.7/site-packages/setuptools/wheel.pyt���<module>���s"���