Commits

Anonymous committed 36e3321

Fix Issue 218: Check for protoc executable in vsprojects directory.

  • Participants
  • Parent commits 48a9b0a

Comments (0)

Files changed (1)

File python/setup.py

   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")