ACC SHELL
Ñò
tÄMc @ sb d Z d Z d d k Z d d k l Z d d k l Z d d k l Z d e f d „ ƒ YZ d S( su distutils.command.install_scripts
Implements the Distutils 'install_scripts' command, for installing
Python scripts.s; $Id: install_scripts.py 37828 2004-11-10 22:23:15Z loewis $iÿÿÿÿN( t Command( t log( t ST_MODEt install_scriptsc B sY e Z d Z d d d d g Z d d
g Z d „ Z d
„ Z d „ Z d „ Z d „ Z
RS( s% install scripts (Python or otherwise)s install-dir=t ds directory to install scripts tos
build-dir=t bs' build directory (where to install from)t forcet fs- force installation (overwrite existing files)s
skip-builds skip the build stepsc C s( d | _ d | _ d | _ d | _ d S( Ni ( t Nonet install_dirR t build_dirt
skip_build( t self( ( s7 /usr/lib/python2.6/distutils/command/install_scripts.pyt initialize_options s c C s* | i d d ƒ | i d d
d d ƒ d S(
Nt buildt
build_scriptsR
t installR R R R ( R s build_dir( s install_scriptss install_dir( s forces force( s
skip_builds
skip_build( t set_undefined_options( R ( ( s7 /usr/lib/python2.6/distutils/command/install_scripts.pyt finalize_options% s
c C sÁ | i p | i d ƒ n | i | i | i ƒ | _ t i d j ow xt | i ƒ D]b } | i o t
i d | ƒ qS t i | ƒ t
d Bd @} t
i d | | ƒ t i | | ƒ qS Wn d S( NR t posixs changing mode of %sim iÿ s changing mode of %s to %o( R t run_commandt copy_treeR
R t outfilest ost namet get_outputst dry_runR t infot statR t chmod( R t filet mode( ( s7 /usr/lib/python2.6/distutils/command/install_scripts.pyt run- s
c C s | i i p g S( N( t distributiont scripts( R ( ( s7 /usr/lib/python2.6/distutils/command/install_scripts.pyt
get_inputs<