Commit ee392e7b authored by Tarek Ziade's avatar Tarek Ziade

fixed the path splitting

parent a1dbf39e
......@@ -356,7 +356,8 @@ class MSVCCompiler(CCompiler) :
vc_env = query_vcvarsall(VERSION, plat_spec)
# take care to only use strings in the environment.
self.__paths = vc_env['path'].split(os.pathsep).encode('mbcs')
self.__paths = [part.encode('mbcs') for part in
vc_env['path'].split(os.pathsep)]
os.environ['lib'] = vc_env['lib'].encode('mbcs')
os.environ['include'] = vc_env['include'].encode('mbcs')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment