aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/pybuild.py
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2024-03-27 20:45:52 +0300
committerpg <pg@yandex-team.com>2024-03-27 20:59:16 +0300
commit0a9f70229b9ddccbd4a09d389642ddafcbe8fd57 (patch)
tree31883a3cee60b7c9c373dbdf745490574788b2b0 /build/plugins/pybuild.py
parent01e2f64ea9b0a11884d483b296278f0811c33d92 (diff)
downloadydb-0a9f70229b9ddccbd4a09d389642ddafcbe8fd57.tar.gz
2594c64e637fd7028000c2f6e9c69b8554b86a5b
Diffstat (limited to 'build/plugins/pybuild.py')
-rw-r--r--build/plugins/pybuild.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py
index 526f98b3cf..ccb6d5b98f 100644
--- a/build/plugins/pybuild.py
+++ b/build/plugins/pybuild.py
@@ -655,7 +655,8 @@ def onpy_srcs(unit, *args):
if protos:
if not upath.startswith(py_runtime_path) and not upath.startswith(builtin_proto_path):
- unit.onpeerdir(py_runtime_path)
+ if 'protobuf_old' not in upath:
+ unit.onpeerdir(py_runtime_path)
unit.onpeerdir(unit.get("PY_PROTO_DEPS").split())