Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a5f604

Browse files
committed
Merge pull request #16 from davidanthoff/msbuildinquotes
Put quotes around the path to msbuild in setup.py
2 parents 7a37483 + 0d126df commit 1a5f604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonnet/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
cc = msvc9compiler.MSVCCompiler()
2626
cc.initialize()
27-
_xbuild = cc.find_exe("msbuild.exe")
27+
_xbuild = "\"%s\"" % cc.find_exe("msbuild.exe")
2828
_defines_sep = ";"
2929
_config = "%sWin" % CONFIG
3030
_npython_exe = "nPython.exe"

0 commit comments

Comments
 (0)