Skip to content

Commit d0eb029

Browse files
committed
test2
1 parent 39ef416 commit d0eb029

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

scripts/generate_proto.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,6 @@ def generate_protobuf_files(temp_proto_dir: Path, output_dir: Path, project_root
394394
else:
395395
print("Warning: grpc_python_plugin not found, skipping gRPC code generation")
396396

397-
# Find protobuf include directory
398-
brew_include = find_protobuf_include(project_root)
399-
400397
# Generate Python files for each proto file
401398
for proto_file in proto_files:
402399
# Get relative path from temp proto directory
@@ -410,12 +407,7 @@ def generate_protobuf_files(temp_proto_dir: Path, output_dir: Path, project_root
410407
f"--proto_path={temp_proto_dir}",
411408
]
412409

413-
# Add brew protobuf include path if available
414-
if brew_include:
415-
cmd.append(f"--proto_path={brew_include}")
416-
else:
417-
# Fallback to local include directory
418-
cmd.append(f"--proto_path={project_root}/include")
410+
cmd.append(f"--proto_path={project_root}/include")
419411

420412
cmd.append(str(proto_file))
421413

0 commit comments

Comments
 (0)