#NEWLINE# def working_set( self , extra = ( ) ) : #NEWLINE# #INDENT# 'Separate method to just get the working set\n\n        This is intended for reuse by similar recipes.\n        ' #NEWLINE# options = self . options #NEWLINE# b_options = self . buildout [ 'buildout' ] #NEWLINE# packages = self . opt_packages [ : ] #NEWLINE# orig_packages = packages [ : ] #NEWLINE# packages . extend ( extra ) #NEWLINE# if self . opt_offline : #NEWLINE# #INDENT# ws = easy_install . working_set ( packages , self . opt_executable , [ b_options . opt_develop_eggs_dir , self . opt_eggs_dir ] , include_site_packages = self . include_site_packages , allowed_eggs_from_site_packages = self . allowed_eggs ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# kw = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if ( 'unzip' in options ) : #NEWLINE# #INDENT# kw [ 'always_unzip' ] = options . query_bool ( 'unzip' , None ) #NEWLINE# #UNINDENT# ws = zc . buildout . easy_install . install ( packages , self . opt_eggs_dir , links = self . links , index = self . index , executable = self . opt_executable , path = [ self . opt_develop_eggs_dir ] , newest = ( b_options . get ( 'newest' ) == 'true' ) , include_site_packages = self . include_site_packages , allowed_eggs_from_site_packages = self . allowed_eggs , allow_hosts = self . allow_hosts , ** kw ) #NEWLINE# #UNINDENT# return ( orig_packages , ws )