#NEWLINE# def __init__( self , * args , **kw ) : #NEWLINE# #INDENT# super ( ZipCommand , self ) . __init__ ( * args , ** kw ) #NEWLINE# if ( args . name == 'zip' ) : #NEWLINE# #INDENT# self . cmd_opts . add_option ( '--unzip' , action = 'store_true' , dest = 'unzip' , help = 'Unzip (rather than zip) a package.' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . cmd_opts . add_option ( '--zip' , action = 'store_false' , dest = 'unzip' , default = True , help = 'Zip (rather than unzip) a package.' ) #NEWLINE# #UNINDENT# self . cmd_opts . add_option ( '--no-pyc' , action = 'store_true' , dest = 'no_pyc' , help = 'Do not include .pyc files in zip files (useful on Google App Engine).' ) #NEWLINE# self . cmd_opts . add_option ( '-l' , '--list' , action = 'store_true' , dest = 'list' , help = 'List the packages available, and their zip status.' ) #NEWLINE# self . cmd_opts . add_option ( '--sort-files' , action = 'store_true' , dest = 'sort_files' , help = 'With --list, sort packages according to how many files they contain.' ) #NEWLINE# self . cmd_opts . add_option ( '--path' , action = 'append' , dest = 'paths' , help = 'Restrict operations to the given paths (may include wildcards).' ) #NEWLINE# self . cmd_opts . add_option ( '-n' , '--simulate' , action = 'store_true' , help = 'Do not actually perform the zip/unzip operation.' ) #NEWLINE# self . parser . insert_option_group ( 0 , self . cmd_opts )