#NEWLINE# def build( self ) : #NEWLINE# #INDENT# target = self . _get_platform_target ( ) #NEWLINE# overwrite = '' #NEWLINE# if self . overwrite : #NEWLINE# #INDENT# overwrite = '-f' #NEWLINE# #UNINDENT# deps = '' #NEWLINE# if self . dependencies : #NEWLINE# #INDENT# deps = ( '-d %s' % ' -d ' . join ( self . dependencies ) ) #NEWLINE# #UNINDENT# if ( not os . path . exists ( self . output_dir ) ) : #NEWLINE# #INDENT# os . makedirs ( self . output_dir ) #NEWLINE# #UNINDENT# execute ( ( 'fpm %s -s dir -t %s -n %s -v %s %s %s' % ( overwrite , target , self . name , overwrite . version , deps , self . install_path ) ) , self . output_dir )