Skip to content

Commit a0bd1de

Browse files
committed
Force distribute to use Windows SDK, so it won't look for vcvarsall.bat and will assume everything is in PATH
Fixes "error: Unable to find vcvarsall.bat"
1 parent 6461219 commit a0bd1de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

win_build.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
@echo off
2+
set DISTUTILS_USE_SDK=1
3+
set MSSdk=1
24
"python.exe" setup.py install
35
"python.exe" setup.py install
46
pause

0 commit comments

Comments
 (0)