#NEWLINE# def configuration( parent_package = '' , top_path = None ) : #NEWLINE# #INDENT# config = Configuration ( 'decomposition' , parent_package , top_path ) #NEWLINE# libraries = [ ] #NEWLINE# if ( os . name == 'posix' ) : #NEWLINE# #INDENT# libraries . append ( 'm' ) #NEWLINE# #UNINDENT# config . add_extension ( '_online_lda' , sources = [ '_online_lda.c' ] , include_dirs = [ numpy . get_include ( ) ] , libraries = libraries ) #NEWLINE# config . add_extension ( 'cdnmf_fast' , sources = [ 'cdnmf_fast.c' ] , include_dirs = [ numpy . get_include ( ) ] , libraries = libraries ) #NEWLINE# config . add_subpackage ( 'tests' ) #NEWLINE# return config