ok
Direktori : /proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/setuptools/ |
Current File : //proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/setuptools/wheel.pyc |
� �fc @ 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&