3
yYði  ã               @   s.   d Z ddlZddlZdd„ Zedkr*eƒ  dS )z[
Launch the Python script on the command line after
setuptools is bootstrapped via import.
é    Nc              C   sr   t  tjd } t| ddd�}tjdd… tjdd…< ttdtƒ}|| ƒjƒ }|jddƒ}t	|| dƒ}t
||ƒ dS )	zP
    Run the script in sys.argv[1] as if it had
    been invoked naturally.
    é   Ú__main__N)Ú__file__Ú__name__Ú__doc__Úopenz\r\nz\nÚexec)Ú__builtins__ÚsysÚargvÚdictÚgetattrÚtokenizer   ÚreadÚreplaceÚcompiler   )Úscript_nameÚ	namespaceÚopen_ÚscriptZnorm_scriptÚcode© r   ú7/tmp/pip-build-ue6tjl93/setuptools/setuptools/launch.pyÚrun   s    
r   r   )r   r   r
   r   r   r   r   r   r   Ú<module>   s
   