8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
has_include_file
1 parent ddcfd82 commit ae264b1Copy full SHA for ae264b1
setupext.py
@@ -151,7 +151,8 @@ def has_include_file(include_dirs, filename):
151
directories in `include_dirs`.
152
"""
153
if sys.platform == 'win32':
154
- include_dirs += os.environ.get('INCLUDE', '.').split(';')
+ include_dirs = list(include_dirs)
155
+ include_dirs += os.environ.get('INCLUDE', '.').split(os.pathsep)
156
for dir in include_dirs:
157
if os.path.exists(os.path.join(dir, filename)):
158
return True
0 commit comments