%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/distutils/command/ |
Current File : //usr/local/lib/python2.7/distutils/command/install_scripts.pyc |
ó Pęáac @ sb d Z d Z d d l Z d d l m Z d d l m Z d d l m 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$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( ( s= /usr/local/lib/python2.7/distutils/command/install_scripts.pyt initialize_options s c C s* | j d d | j d d d d d S( Nt buildt build_scriptsR t installR R R R ( R R ( R R ( R R ( R R ( t set_undefined_options( R ( ( s= /usr/local/lib/python2.7/distutils/command/install_scripts.pyt finalize_options# s c C sť | j s | j d n | j | j | j | _ t j d k rˇ xq | j D]` } | j rr t j d | qP t j | t d Bd @} t j d | | t j | | qP 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( ( s= /usr/local/lib/python2.7/distutils/command/install_scripts.pyt run+ s c C s | j j p g S( N( t distributiont scripts( R ( ( s= /usr/local/lib/python2.7/distutils/command/install_scripts.pyt get_inputs: s c C s | j p g S( N( R ( R ( ( s= /usr/local/lib/python2.7/distutils/command/install_scripts.pyR = s ( s install-dir=R s directory to install scripts to( s build-dir=R s' build directory (where to install from)( R R s- force installation (overwrite existing files)N( s skip-buildNs skip the build steps( t __name__t __module__t descriptionR t user_optionst boolean_optionsR R R R# R ( ( ( s= /usr/local/lib/python2.7/distutils/command/install_scripts.pyR s ( t __doc__t __revision__R t distutils.coreR t distutilsR R R R ( ( ( s= /usr/local/lib/python2.7/distutils/command/install_scripts.pyt <module> s