<s> import os <EOL> import sys <EOL> import platform <EOL> FLANN_ROOT = os . environ . get ( '<STR_LIT>' , sys . exec_prefix ) <EOL> CONDA_BUILD = os . environ . get ( '<STR_LIT>' , <NUM_LIT:0> ) <EOL> def configuration ( parent_package = '<STR_LIT>' , top_path = None ) : <EOL> import numpy <EOL> from numpy . distutils . misc_util import Configuration <EOL> config = Configuration ( '<STR_LIT>' , parent_package , top_path ) <EOL> libraries = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> if os . name == '<STR_LIT>' : <EOL> libraries . append ( '<STR_LIT:m>' ) <EOL> kwds = { } <EOL> flann_include = os . path . join ( FLANN_ROOT , '<STR_LIT>' ) <EOL> flann_lib = os . path . join ( FLANN_ROOT , '<STR_LIT>' ) <EOL> if CONDA_BUILD : <EOL> pass <EOL> else : <EOL> print ( "<STR_LIT>" . format ( FLANN_ROOT ) ) <EOL> if platform . system ( ) == '<STR_LIT>' : <EOL> kwds [ '<STR_LIT>' ] = [ '<STR_LIT>' + flann_lib ] <EOL> kwds [ '<STR_LIT>' ] = [ flann_lib ] <EOL> config . add_extension ( "<STR_LIT:index>" , <EOL> sources = [ "<STR_LIT>" , "<STR_LIT>" ] , <EOL> include_dirs = [ numpy . get_include ( ) , flann_include ] , <EOL> libraries = libraries , <EOL> library_dirs = [ flann_lib ] , <EOL> extra_compile_args = [ "<STR_LIT>" ] , <EOL> ** kwds ) <EOL> return config </s>
