diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-04-22 03:20:21 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-04-22 03:20:21 +0000 |
commit | 4152d554c410a50f2463e5b4aeeff9c22bb3820e (patch) | |
tree | 64faede8f105ef9c3c69139ca734b73b6ca9e71c /python/setup.py | |
parent | bbbd4d309c95ed3dceaa49f2d68fd7efc37aa226 (diff) | |
download | protobuf-4152d554c410a50f2463e5b4aeeff9c22bb3820e.tar.gz protobuf-4152d554c410a50f2463e5b4aeeff9c22bb3820e.tar.bz2 protobuf-4152d554c410a50f2463e5b4aeeff9c22bb3820e.zip |
Handle .exe extension when looking for protoc in setup.py.
Diffstat (limited to 'python/setup.py')
-rwxr-xr-x | python/setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/setup.py b/python/setup.py index f9b890ea..6383bc12 100755 --- a/python/setup.py +++ b/python/setup.py @@ -18,6 +18,8 @@ maintainer_email = "protobuf@googlegroups.com" # Find the Protocol Compiler. if os.path.exists("../src/protoc"): protoc = "../src/protoc" +elif os.path.exists("../src/protoc.exe"): + protoc = "../src/protoc.exe" else: protoc = find_executable("protoc") |