관리-도구
편집 파일: build_scripts.cpython-33.pyc
� ��fW c @ s� d Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l m Z d d l Z e j d � Z Gd d � d e � Z Gd d � d e e � Z d S( uR distutils.command.build_scripts Implements the Distutils 'build_scripts' command.i N( u ST_MODE( u sysconfig( u Command( u newer( u convert_pathu Mixin2to3( u logs ^#!.*python[0-9.]*([ ].*)?$c B sn | Ee Z d Z d Z d d d g Z d g Z d d � Z d d � Z d d � Z d d � Z d d � Z d S( u build_scriptsu( "build" scripts (copy and fixup #! line)u build-dir=u du directory to "build" (copy) tou forceu fu1 forcibly build everything (ignore file timestampsu executable=u eu* specify final destination interpreter pathc C s1 d | _ d | _ d | _ d | _ d | _ d S( N( u Noneu build_diru scriptsu forceu executableu outfiles( u self( ( uD /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu initialize_options s u build_scripts.initialize_optionsc C s) | j d d d d � | j j | _ d S( Nu buildu build_scriptsu build_diru forceu executable( u build_scriptsu build_dir( u forceu force( u executableu executable( u set_undefined_optionsu distributionu scripts( u self( ( uD /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu finalize_options% s u build_scripts.finalize_optionsc C s | j S( N( u scripts( u self( ( uD /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu get_source_files, s u build_scripts.get_source_filesc C s | j s d S| j � d S( N( u scriptsu copy_scripts( u self( ( uD /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu run/ s u build_scripts.runc $ C s� | j | j � g } g } x�| j D]�} d } t | � } t j j | j t j j | � � } | j | � | j r� t | | � r� t j d | � q&