*jP S r SSKrSSKrSSKrSSKrSSKrSSKrSSKJ r SSK Jr / SQrSS jr SSSSSS.S jjr SSSSSS.S jjr SS jrS r\S :X a% \" \" 5 ( + 5 r\R* " \5 gg)a Module/script to byte-compile all .py files to .pyc files. 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, it 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. N)partial)Path)compile_dircompile_filecompile_pathc # Z # US: a5 [ U [ R 5 ( a [ R " U 5 n U( d [ SR U 5 5 [ R " U 5 nUR 5 U H nUS:X a M [ R R X5 n[ R R U5 ( d Uv MT US: d M\ U[ R :w d Mr U[ R :w d M [ R R U5 ( d M [ R R U5 ( a M [ XQS- US9 S h vN M g ! [ a&