From 80aa23df6c63750e8cdfdcf3996fbc37d63cac61 Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Tue, 28 Sep 2010 21:58:36 +0000 Subject: Fix Issue 218: Check for protoc executable in vsprojects directory. --- python/setup.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/setup.py') 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") -- cgit v1.2.3