1 from __future__
import absolute_import
5 def find_in_path(file, searchpath
):
6 for dir in searchpath
.split(os
.pathsep
):
7 f
= os
.path
.join(dir, file)
13 def header_path(header
, compiler
):
15 # we use include_next on gcc
17 elif compiler
== 'msvc':
18 return find_in_path(header
, os
.environ
.get('INCLUDE', ''))
20 # hope someone notices this ...
21 raise NotImplementedError(compiler
)