Hacked By AnonymousFox
�
{fc @ s� d Z 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
e j d � Z d
e f d � � YZ d S( sR distutils.command.build_scripts
Implements the Distutils 'build_scripts' command.s $Id$i����N( t ST_MODE( t Command( t newer( t convert_path( t logs ^#!.*python[0-9.]*([ ].*)?$t
build_scriptsc B sS e Z d Z d d d g Z d g Z d
� Z d � Z d � Z d
� Z d � Z RS( s( "build" scripts (copy and fixup #! line)s
build-dir=t ds directory to "build" (copy) tot forcet fs1 forcibly build everything (ignore file timestampss executable=t es* specify final destination interpreter pathc C s1 d | _ d | _ d | _ d | _ d | _ d S( N( t Nonet build_dirt scriptsR t
executablet outfiles( t self( ( s7 /usr/lib64/python2.7/distutils/command/build_scripts.pyt initialize_options s
c C s) | j d d d d � | j j | _ d S( Nt buildR R R R
( R R ( R R ( R
R
( t set_undefined_optionst distributionR ( R ( ( s7 /usr/lib64/python2.7/distutils/command/build_scripts.pyt finalize_options% s
c C s | j S( N( R ( R ( ( s7 /usr/lib64/python2.7/distutils/command/build_scripts.pyt get_source_files, s c C s | j s
d S| j � d S( N( R t copy_scripts( R ( ( s7 /usr/lib64/python2.7/distutils/command/build_scripts.pyt run/ s c C s� t d � } | j | j � g } x| j D]} d } t | � } t j j | j t j j | � � } | j | � | j
r� t | | � r� t j
d | � q, n y t | d � } Wn&