mirror of
https://github.com/php-win-ext/grpc.git
synced 2026-03-24 17:12:19 +01:00
To mitigate the following windows long path issue found in https://github.com/grpc/grpc/pull/34513. Using `pyb` instead of `python_build` saves 9 characters. --- `Distribution Tests Python Windows` failed because of `T:\altsrc\github\grpc\workspace_python_windows_x86_Python38_32bit\python_build\\temp.win-amd64-cpython-312\\Release\\src\core\ext\upb-gen\envoy\extensions\load_balancing_policies\client_side_weighted_round_robin\v3\client_side_weighted_round_robin.upb_minitable.obj`
42 lines
1.1 KiB
INI
42 lines
1.1 KiB
INI
# Setup settings for GRPC Python
|
|
|
|
[coverage:run]
|
|
plugins = Cython.Coverage
|
|
|
|
[build]
|
|
build_base=pyb
|
|
|
|
[build_ext]
|
|
inplace=1
|
|
|
|
[build_package_protos]
|
|
exclude=.*protoc_plugin/protoc_plugin_test\.proto$
|
|
|
|
[metadata]
|
|
license_files = LICENSE
|
|
|
|
# NOTE(lidiz) Adding examples one by one due to pytype aggressive errer:
|
|
# ninja: error: build.ninja:178: multiple rules generate helloworld_pb2.pyi [-w dupbuild=err]
|
|
# TODO(xuanwn): include all files in src/python/grpcio/grpc
|
|
[pytype]
|
|
inputs =
|
|
src/python/grpcio/grpc/experimental
|
|
src/python/grpcio/grpc
|
|
src/python/grpcio_tests/tests_aio
|
|
src/python/grpcio_observability/grpc_observability
|
|
examples/python/auth
|
|
examples/python/helloworld
|
|
exclude =
|
|
**/*_pb2.py
|
|
src/python/grpcio/grpc/framework
|
|
src/python/grpcio/grpc/aio
|
|
src/python/grpcio/grpc/beta
|
|
src/python/grpcio/grpc/__init__.py
|
|
src/python/grpcio/grpc/_simple_stubs.py
|
|
|
|
# NOTE(lidiz)
|
|
# import-error: C extension triggers import-error.
|
|
# module-attr: pytype cannot understand the namespace packages by Google.
|
|
# attribute-error: Data classes in grpc module doesn't specify attributes.
|
|
disable = "import-error,module-attr,attribute-error"
|