관리-도구
편집 파일: build_scripts.cpython-34.pyo
� h fW � @ 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)zRdistutils.command.build_scripts Implements the Distutils 'build_scripts' command.� N)�ST_MODE)� sysconfig)�Command)�newer)�convert_path� Mixin2to3)�logs ^#!.*python[0-9.]*([ ].*)?$c @ sj e 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)� build_scriptsz("build" scripts (copy and fixup #! line)� build-dir=�d�directory to "build" (copy) to�force�f�1forcibly build everything (ignore file timestamps�executable=�e�*specify final destination interpreter pathc C s1 d | _ d | _ d | _ d | _ d | _ d S)N)� build_dir�scriptsr � executable�outfiles)�self� r �D/opt/alt/python34/lib64/python3.4/distutils/command/build_scripts.py�initialize_options s z build_scripts.initialize_optionsc C s) | j d d d d � | j j | _ d S) NZbuildr r r r )z build_scriptsz build_dir)�forcer )� executabler )Zset_undefined_optionsZdistributionr )r r r r �finalize_options% s zbuild_scripts.finalize_optionsc C s | j S)N)r )r r r r �get_source_files, s zbuild_scripts.get_source_filesc C s | j s d S| j � d S)N)r �copy_scripts)r r r r �run/ s zbuild_scripts.runc "