<s> """<STR_LIT>""" <EOL> import os <EOL> import subprocess <EOL> import sys <EOL> import zipfile <EOL> def main ( argv ) : <EOL> if len ( argv ) != <NUM_LIT:2> : <EOL> sys . exit ( '<STR_LIT>' % argv [ <NUM_LIT:0> ] ) <EOL> zip_file_path = argv [ <NUM_LIT:1> ] <EOL> version = subprocess . check_output ( ( '<STR_LIT>' , '<STR_LIT>' ) ) . rstrip ( ) <EOL> with zipfile . ZipFile ( zip_file_path , '<STR_LIT:w>' ) as zip_file : <EOL> for dir_path , _ , file_names in os . walk ( '<STR_LIT>' ) : <EOL> for file_name in file_names : <EOL> if not file_name . endswith ( '<STR_LIT>' ) : <EOL> zip_file . write ( os . path . join ( dir_path , file_name ) ) <EOL> for file_name in ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' ) : <EOL> zip_file . write ( file_name ) <EOL> zip_file . write ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> zip_file . writestr ( '<STR_LIT>' , version ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( sys . argv ) </s>
