From 50bc0f79a2850e8b8cb864453849ec210b3b517b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 1 Dec 2015 00:12:00 +0530 Subject: [PATCH] ... --- setup/vcvars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/vcvars.py b/setup/vcvars.py index a474ae1123..a731f5327e 100644 --- a/setup/vcvars.py +++ b/setup/vcvars.py @@ -80,7 +80,7 @@ export INCLUDE="%s" export LIBPATH="%s" -'''%(unix(paths), lib, include, libpath) +'''%(unix(paths), lib.replace('\\', r'\\'), include.replace('\\', r'\\'), libpath.replace('\\', r'\\')) with open(os.path.expanduser('~/.vcvars'), 'wb') as f: f.write(raw.encode('utf-8'))