aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/protoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/protoc.py')
-rwxr-xr-xscripts/protoc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/protoc.py b/scripts/protoc.py
index 09429d3..1b28334 100755
--- a/scripts/protoc.py
+++ b/scripts/protoc.py
@@ -50,9 +50,8 @@ def main() -> None:
file.write(response.read())
compile_proto(file_path)
- # Remove the _pb suffix from the generated Python file.
if generated_py := next(SRC_DIR.glob(f"{FILE_NAME}_pb*.py"), None):
- generated_py.rename(generated_py.with_stem(FILE_NAME))
+ print(f"Build output: {generated_py.absolute()}.")
else:
print(f"Could not find the generated Python file in {SRC_DIR}.", file=sys.stderr)
sys.exit(1)