ó b'tQc@seddlZddlZddlZddlZejjeƒZd„Ze dkraeƒndS(i˙˙˙˙Nc Csěd}d}tj|d|ƒ}|jdddddd d ƒ|jd d d dddƒ|jddd dddƒ|jƒ\}}tjj|jƒ}tjj|ƒsĹt j d|ƒn|s|j rçt j j dƒngddddgD]}tjjt|ƒ^qú}nxÇ|D]ż}|jdƒsG|d}ntjj|ƒ}tjj|ƒrĐddj|jdƒƒ} d||| f} |j rşt j j d| ƒntj| jƒƒq%t j j d|ƒq%WdS(Nsusage: %prog [file1..fileN]słWith no file paths given this script will automatically compress all jQuery-based files of the admin app. Requires the Google Closure Compiler library and Java version 6 or later.t descriptions-ctdesttcompilertdefaults~/bin/compiler.jarthelps!path to Closure Compiler jar files-vs --verbosetactiont store_truetverboses-qs--quiett store_falses\Google Closure compiler jar file %s not found. Please use the -c option to specify the path.s0No filenames given; defaulting to admin scripts s actions.jss collapse.jss inlines.jssprepopulate.jss.jss %s.min.jsts(java -jar %s --js %s --js_output_file %ss Running: %s s#File %s not found. Sure it exists? (toptparset OptionParsert add_optiont parse_argstostpatht expanduserRtexiststsystexitRtstdouttwritetjointheretendswithtrsplitt subprocesstcalltsplit( tusageRtparsertoptionstargsRtftargt to_compresstto_compress_mintcmd((sL/usr/local/lib/python2.7/dist-packages/grappelli/static/admin/js/compress.pytmain s:   4   t__main__( RR RRRtdirnamet__file__RR&t__name__(((sL/usr/local/lib/python2.7/dist-packages/grappelli/static/admin/js/compress.pyts     %