diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2010-09-28 21:58:36 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2010-09-28 21:58:36 +0000 |
commit | 80aa23df6c63750e8cdfdcf3996fbc37d63cac61 (patch) | |
tree | 5116215d88b40d5001bd606afc1272f107248255 /python/setup.py | |
parent | a4a9ef8c8b9ecf1a1f2dd71a608032db45aad1ea (diff) | |
download | protobuf-80aa23df6c63750e8cdfdcf3996fbc37d63cac61.tar.gz protobuf-80aa23df6c63750e8cdfdcf3996fbc37d63cac61.tar.bz2 protobuf-80aa23df6c63750e8cdfdcf3996fbc37d63cac61.zip |
Fix Issue 218: Check for protoc executable in vsprojects directory.
Diffstat (limited to 'python/setup.py')
-rwxr-xr-x | python/setup.py | 4 |
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") |