Current Path : /usr/lib/python2.7/distutils/command/ |
Current File : //usr/lib/python2.7/distutils/command/install_scripts.pyc |
ó —|_c @ 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( ( s7 /usr/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 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.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( ( s7 /usr/lib/python2.7/distutils/command/install_scripts.pyt run+ s c C s | j j p g S( N( t distributiont scripts( R ( ( s7 /usr/lib/python2.7/distutils/command/install_scripts.pyt get_inputs: s c C s | j p g S( N( R ( R ( ( s7 /usr/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)( s forceR 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 ( ( ( s7 /usr/lib/python2.7/distutils/command/install_scripts.pyR s ( t __doc__t __revision__R t distutils.coreR t distutilsR R R R ( ( ( s7 /usr/lib/python2.7/distutils/command/install_scripts.pyt <module> s