4 def find_in_path(file, searchpath
):
5 for dir in searchpath
.split(os
.pathsep
):
6 f
= os
.path
.join(dir, file)
12 def header_path(header
, compiler
):
14 # we use include_next on gcc
16 elif compiler
== 'msvc':
17 return find_in_path(header
, os
.environ
.get('INCLUDE', ''))
19 # hope someone notices this ...
20 raise NotImplementedError(compiler
)