aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2010-09-28 21:58:36 +0000
committerGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2010-09-28 21:58:36 +0000
commit80aa23df6c63750e8cdfdcf3996fbc37d63cac61 (patch)
tree5116215d88b40d5001bd606afc1272f107248255
parenta4a9ef8c8b9ecf1a1f2dd71a608032db45aad1ea (diff)
Fix Issue 218: Check for protoc executable in vsprojects directory.
-rwxr-xr-xpython/setup.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/setup.py b/python/setup.py
index 8c97439f..81887300 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -20,6 +20,10 @@ if os.path.exists("../src/protoc"):
protoc = "../src/protoc"
elif os.path.exists("../src/protoc.exe"):
protoc = "../src/protoc.exe"
+elif os.path.exists("../vsprojects/Debug/protoc.exe"):
+ protoc = "../vsprojects/Debug/protoc.exe"
+elif os.path.exists("../vsprojects/Release/protoc.exe"):
+ protoc = "../vsprojects/Release/protoc.exe"
else:
protoc = find_executable("protoc")