ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     
{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$iN(   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& t k
 r |  j s   n  d } n] X| j   } | s
|  j d |  q, n  t j |  } | r=d } | j d  p7d }	 n  | rt j d | |  j  |  j st | d	  }
 | j   s|
 j d
 |  j |	 f  nK |
 j d
 t j j | j d  d | j d  | j d  f  |	 f  |
 j | j    |
 j   n  | r>| j   q>q, | r.| j   n  |  j | |  q, Wt j  d k rx | D]| } |  j rzt j d |  qXt j! |  t" d @} | d Bd @} | | k rXt j d | | |  t j# | |  qXqXWn  d S(   s"  Copy each script listed in 'self.scripts'; if it's marked as a
        Python script in the Unix way (first line matches 'first_line_re',
        ie. starts with "\#!" and contains "python"), then adjust the first
        line to refer to the current Python interpreter as we copy.
        t	   sysconfigi    s   not copying %s (up-to-date)t   rs   %s is an empty file (skipping)i   t    s   copying and adjusting %s -> %st   ws   #!%s%s
t   BINDIRs
   python%s%st   VERSIONt   EXEt   posixs   changing mode of %si  im  s!   changing mode of %s from %o to %oN($   t
   __import__t   mkpathR   R   R   t   ost   patht   joint   basenamet   appendR   R   R   t   debugt   opent   IOErrort   dry_runR
   t   readlinet   warnt   first_line_ret   matcht   groupt   infot   is_python_buildt   writeR   t   get_config_vart
   writelinest	   readlinest   closet	   copy_filet   namet   statR    t   chmod(   R   t
   _sysconfigR   t   scriptt   adjustt   outfileR   t
   first_lineR.   t   post_interpt   outft   filet   oldmodet   newmode(    (    s7   /usr/lib64/python2.7/distutils/command/build_scripts.pyR   5   sr    $	

						(   s
   build-dir=R   s   directory to "build" (copy) to(   R   R   s1   forcibly build everything (ignore file timestamps(   s   executable=R	   s*   specify final destination interpreter path(
   t   __name__t
   __module__t   descriptiont   user_optionst   boolean_optionsR   R   R   R   R   (    (    (    s7   /usr/lib64/python2.7/distutils/command/build_scripts.pyR      s   						(   t   __doc__t   __revision__R"   t   reR9   R    t   distutils.coreR   t   distutils.dep_utilR   t   distutils.utilR   t	   distutilsR   t   compileR-   R   (    (    (    s7   /usr/lib64/python2.7/distutils/command/build_scripts.pyt   <module>   s   