fixed the path splitting
This commit is contained in:
parent
fd88318ac4
commit
0e3f3a7076
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue