File: //proc/2/cwd/proc/3/root/usr/lib/python2.4/distutils/command/build_scripts.pyc
mò
‚=5Dc @ sž d Z d Z d k Z d k Z d k Z d k l Z d k l Z d k l
Z
d k l Z d k
l Z d k l Z e i d ƒ Z d
e
f d „ ƒ YZ d S( sR distutils.command.build_scripts
Implements the Distutils 'build_scripts' command.s9 $Id: build_scripts.py 37828 2004-11-10 22:23:15Z loewis $N( s ST_MODE( s sysconfig( s Command( s newer( s convert_path( s logs ^#!.*python[0-9.]*([ ].*)?$t
build_scriptsc B sS t Z d Z d d d g Z d g Z d „ Z d „ Z d
„ Z d „ Z d „ Z RS( Ns( "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 selft build_dirt scriptsR t
executablet outfiles( R ( ( t5 /usr/lib/python2.4/distutils/command/build_scripts.pyt initialize_options! s
c C s) | i d d d d ƒ | i i | _ d S( Nt buildR R R R ( s
build_scriptss build_dir( s forces force( s
executables
executable( R t set_undefined_optionst distributionR ( R ( ( R t finalize_options( s
c C s | i S( N( R R ( R ( ( R t get_source_files/ s c C s | i p d Sn | i ƒ d S( N( R R t copy_scripts( R ( ( R t run2 s
c
C sÒ | i | i ƒ g } x| i D]} d } t | ƒ } t i i
| i t i i | ƒ ƒ } | i
| ƒ | i o( t | | ƒ o t i d | ƒ q n y t | d ƒ } Wn* t j
o | i p ‚ n d } nc X| i ƒ } | p | i d | ƒ q n t i | ƒ } | o d } | i d ƒ p d } n | oÍ t i d | | i ƒ | i p” t | d ƒ } t i! p | i"