<s> import scriptine <EOL> from scriptine import path <EOL> def version_command ( ) : <EOL> print '<STR_LIT>' % scriptine . __version__ <EOL> def zipdist_command ( ) : <EOL> print '<STR_LIT>' <EOL> if __file__ is None : <EOL> print '<STR_LIT>' <EOL> return <NUM_LIT:1> <EOL> from zipfile import ZipFile , ZIP_DEFLATED <EOL> zipfile = ZipFile ( '<STR_LIT>' , '<STR_LIT:w>' , compression = ZIP_DEFLATED ) <EOL> scripyt_src = path ( __file__ ) . dirname ( ) <EOL> for filename in path ( scripyt_src ) . files ( '<STR_LIT>' ) : <EOL> arcname = path ( ) . joinpath ( * filename . splitall ( ) [ - <NUM_LIT:2> : ] ) <EOL> zipfile . write ( filename , arcname ) <EOL> zipfile . close ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> import sys <EOL> if sys . argv [ <NUM_LIT:0> ] is None : <EOL> sys . argv [ <NUM_LIT:0> ] = '<STR_LIT>' <EOL> scriptine . run ( ) </s>
