관리-도구
편집 파일: re-vendor.cpython-34.pyc
� �Re � @ s� d d l Z d d l Z d d l Z d d l Z d d l Z e j j e j j e � � Z d d � Z d d � Z d d � Z e d k r� e e j � d k r� e � n e j d d k r� e � q� e j d d k r� e � q� e � n d S)� Nc C s t d � t j d � d S)Nz"Usage: re-vendor.py [clean|vendor]� )�print�sys�exit� r r �0/tmp/pip-ztkk0jow-build/pip/_vendor/re-vendor.py�usage s r c C sq xN t j t � D]= } t j j t | � } t j j | � r t j | � q q Wt j t j j t d � � d S)Nzsix.py) �os�listdir�here�path�join�isdir�shutil�rmtree�unlink)�fn�dirnamer r r �clean s r c C sG t j d d t d d g � x$ t j d � D] } t j | � q, Wd S)N�installz-tz-rz vendor.txtz *.egg-info)�pip�mainr �globr r )r r r r �vendor s r �__main__� r )r r r r r r �abspathr �__file__r r r r �__name__�len�argvr r r r �<module> s