£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyÊ¦•êŽ…È®FÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~èŠ©ÊÇí`ÔÑ©úë™µ'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ó¼ãžªéUWŸÈË%DÒÕ¬ï‘]/Åcx  ‰ï2ß]ä6G[]S£ÔÏ¯rs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ                  ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<html>

fW  c               @   s   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 m Z d d l m Z d d l Z e j d	  Z Gd
 d   d e  Z Gd d   d e e  Z d S(   uR   distutils.command.build_scripts

Implements the Distutils 'build_scripts' command.i    N(   u   ST_MODE(   u	   sysconfig(   u   Command(   u   newer(   u   convert_pathu	   Mixin2to3(   u   logs   ^#!.*python[0-9.]*([ 	].*)?$c             B   sn   |  Ee  Z d  Z d Z d d d g Z d g Z d d   Z d d   Z d d   Z d d   Z	 d d   Z
 d S(   u   build_scriptsu(   "build" scripts (copy and fixup #! line)u
   build-dir=u   du   directory to "build" (copy) tou   forceu   fu1   forcibly build everything (ignore file timestampsu   executable=u   eu*   specify final destination interpreter pathc             C   s1   d  |  _ d  |  _ d  |  _ d  |  _ d  |  _ d  S(   N(   u   Noneu	   build_diru   scriptsu   forceu
   executableu   outfiles(   u   self(    (    uD   /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu   initialize_options   s
    				u    build_scripts.initialize_optionsc             C   s)   |  j  d d d d  |  j j |  _ d  S(	   Nu   buildu   build_scriptsu	   build_diru   forceu
   executable(   u   build_scriptsu	   build_dir(   u   forceu   force(   u
   executableu
   executable(   u   set_undefined_optionsu   distributionu   scripts(   u   self(    (    uD   /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu   finalize_options%   s
    	u   build_scripts.finalize_optionsc             C   s   |  j  S(   N(   u   scripts(   u   self(    (    uD   /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu   get_source_files,   s    u   build_scripts.get_source_filesc             C   s   |  j  s d  S|  j   d  S(   N(   u   scriptsu   copy_scripts(   u   self(    (    uD   /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu   run/   s    	u   build_scripts.runc          $   C   s  |  j  |  j  g  } 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 } Yn Xt j | j  \ } } | j d  | j   }	 |	 s*|  j d |  q& n  t j |	  }
 |
 r]d } |
 j d  pWd } n  | rt j d | |  j  | j	 |  |  j st j s|  j } n: t j j t j d  d	 t j d
  t j d  f  } t j  |  } d | | d } y | j! d  Wn' t" k
 r9t# d j$ |    Yn Xy | j! |  Wn* t" k
 rwt# d j$ | |    Yn Xt | d  ' } | j% |  | j& | j'    Wd QXn  | r| j(   qq& | r| j(   n  | j	 |  |  j) | |  q& Wt j* d k rx | D]| } |  j r5t j d |  qt j+ |  t, d @} | d Bd @} | | k rt j d | | |  t j- | |  qqWn  | | f S(   u"  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.
        u   not copying %s (up-to-date)u   rbi    u   %s is an empty file (skipping)i   s    u   copying and adjusting %s -> %su   BINDIRu
   python%s%su   VERSIONu   EXEs   #!s   
u   utf-8u.   The shebang ({!r}) is not decodable from utf-8uA   The shebang ({!r}) is not decodable from the script encoding ({})u   wbNu   posixu   changing mode of %si  im  u!   changing mode of %s from %o to %oFT(.   u   mkpathu	   build_diru   scriptsu   Falseu   convert_pathu   osu   pathu   joinu   basenameu   appendu   forceu   neweru   logu   debugu   openu   IOErroru   dry_runu   Noneu   tokenizeu   detect_encodingu   readlineu   seeku   warnu   first_line_reu   matchu   Trueu   groupu   infou	   sysconfigu   python_buildu
   executableu   get_config_varu   fsencodeu   decodeu   UnicodeDecodeErroru
   ValueErroru   formatu   writeu
   writelinesu	   readlinesu   closeu	   copy_fileu   nameu   statu   ST_MODEu   chmod(   u   selfu   outfilesu   updated_filesu   scriptu   adjustu   outfileu   fu   encodingu   linesu
   first_lineu   matchu   post_interpu
   executableu   shebangu   outfu   fileu   oldmodeu   newmode(    (    uD   /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu   copy_scripts5   s    $	
					u   build_scripts.copy_scriptsN(   u
   build-dir=u   du   directory to "build" (copy) to(   u   forceu   fu1   forcibly build everything (ignore file timestamps(   u   executable=u   eu*   specify final destination interpreter path(   u   __name__u
   __module__u   __qualname__u   descriptionu   user_optionsu   boolean_optionsu   initialize_optionsu   finalize_optionsu   get_source_filesu   runu   copy_scripts(   u
   __locals__(    (    uD   /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu   build_scripts   s   		u   build_scriptsc             B   s    |  Ee  Z d  Z d d   Z d S(   u   build_scripts_2to3c             C   s8   t  j |   \ } } |  j s. |  j |  n  | | f S(   N(   u   build_scriptsu   copy_scriptsu   dry_runu   run_2to3(   u   selfu   outfilesu   updated_files(    (    uD   /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu   copy_scripts   s    	u   build_scripts_2to3.copy_scriptsN(   u   __name__u
   __module__u   __qualname__u   copy_scripts(   u
   __locals__(    (    uD   /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu   build_scripts_2to3   s   u   build_scripts_2to3(   u   __doc__u   osu   reu   statu   ST_MODEu	   distutilsu	   sysconfigu   distutils.coreu   Commandu   distutils.dep_utilu   neweru   distutils.utilu   convert_pathu	   Mixin2to3u   logu   tokenizeu   compileu   first_line_reu   build_scriptsu   build_scripts_2to3(    (    (    uD   /opt/alt/python33/lib64/python3.3/distutils/command/build_scripts.pyu   <module>   s   