mirror of
https://github.com/grpc/grpc.git
synced 2026-01-24 10:53:30 +08:00
[python xDS protos] move to a shallower directory (#41261)
This will avoid exceeding the Windows 150-character path length limit when we upgrade the xDS protos. Closes #41261 PiperOrigin-RevId: 847800132
This commit is contained in:
committed by
Copybara-Service
parent
560e95a3f4
commit
0a6901dcd9
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -19,7 +19,7 @@ src/python/grpcio/grpc_core_dependencies.py linguist-generated=true
|
||||
src/ruby/ext/grpc/rb_grpc_imports.generated.h linguist-generated=true
|
||||
src/ruby/ext/grpc/rb_grpc_imports.generated.c linguist-generated=true
|
||||
include/grpc/module.modulemap linguist-generated=true
|
||||
tools/distrib/python/xds_protos/** linguist-generated=true
|
||||
py_xds_protos/** linguist-generated=true
|
||||
tools/doxygen/Doxyfile.c++ linguist-generated=true
|
||||
tools/doxygen/Doxyfile.c++.internal linguist-generated=true
|
||||
tools/doxygen/Doxyfile.core linguist-generated=true
|
||||
|
||||
@@ -24,8 +24,8 @@ extend-exclude = '''
|
||||
| src/python/grpcio_observability/observability_lib_deps.py
|
||||
| .*_pb2.py # autogenerated Protocol Buffer files
|
||||
| .*_pb2_grpc.py # autogenerated Protocol Buffer gRPC files
|
||||
# AUTO-GENERATED By tools/distrib/python/xds_protos/build_xds_protos.py
|
||||
| tools/distrib/python/xds_protos/.*
|
||||
# AUTO-GENERATED By py_xds_protos/build_xds_protos.py
|
||||
| py_xds_protos/.*
|
||||
)
|
||||
'''
|
||||
|
||||
@@ -52,7 +52,7 @@ skip_glob = [
|
||||
"*pb2*.py",
|
||||
"*pb2*.pyi",
|
||||
"**/site-packages/**/*",
|
||||
"tools/distrib/python/xds_protos/*",
|
||||
"py_xds_protos/*",
|
||||
"**/.venv-*",
|
||||
]
|
||||
single_line_exclusions = ["typing"]
|
||||
|
||||
@@ -34,7 +34,7 @@ _XDS_PROTO_DIRECTORIES = [
|
||||
]
|
||||
|
||||
py_library(
|
||||
name = "xds_protos",
|
||||
name = "py_xds_protos",
|
||||
srcs = (["__init__.py"] +
|
||||
glob([d + "/**/*.py" for d in _XDS_PROTO_DIRECTORIES])),
|
||||
imports = ["."],
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user