|
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 User : jackjohn ( 502) PHP Version : 5.3.17 Disable Function : NONE Directory : /usr/lib64/python2.6/ |
Upload File : |
Ñò
§ÚêLc @ sž d Z d d k Z d d k Z d d k Z d d g Z d d d d d d „ Z d d d d d „ Z d
„ Z e d j o! e
e ƒ ƒ Z e i e ƒ n d S( sí Module/script to "compile" all .py files to .pyc (or .pyo) file.
When called as a script with arguments, this compiles the directories
given as arguments recursively; the -l option prevents it from
recursing into directories.
Without arguments, if compiles all modules on sys.path, without
recursing into subdirectories. (Even though it should do so for
packages -- for now, you'll have to deal with packages separately.)
See module py_compile for details of the actual byte-compilation.
iÿÿÿÿNt compile_dirt compile_pathi
i c C sè | p d G| Gd GHn y t i | ƒ } Wn% t i j
o d G| GHg } n X| i ƒ d } x~| D]v} t i i | | ƒ } | d j o t i i | | ƒ }
n d }
| d j o! | i | ƒ } | o qj qß n t i i | ƒ ol| d | d } }
|
d j oF| t o d p d } t i
| ƒ i } y t i
| ƒ i } Wn t i j
o
d } n X| | j o | o qj n | p d
G| Gd GHn y t i
| d |
t ƒ } Wny t j
o
t ‚ qZt i j
o/ } | o d
G| Gd GHn | i GHd } qZt j
o } d G| GHd } qZX| d j o
d } qZqàqj | d j ou | t i j oe | t i j oU t i i | ƒ oB t i i | ƒ o. t | | d |
| | | ƒ p
d } qàqj qj W| S(
sÁ Byte-compile all modules in the given directory tree.
Arguments (only dir is required):
dir: the directory to byte-compile
maxlevels: maximum recursion level (default 10)
ddir: if given, purported directory name (this is the
directory name that will show up in error messages)
force: if 1, force compilation, even if timestamps are up-to-date
quiet: if 1, be quiet during compilation
t Listings ...s
Can't listi iýÿÿÿs .pyt ct oi t Compilingt SorryN( t ost listdirt errort sortt patht joint Nonet searcht isfilet __debug__t statt st_mtimet
py_compilet compilet Truet KeyboardInterruptt PyCompileErrort msgt IOErrort curdirt pardirt isdirt islinkR ( t dirt maxlevelst ddirt forcet rxt quiett namest successt namet fullnamet dfilet mot headt tailt cfilet ftimet ctimet okt errt e( ( s"