[Build] Shortened python_build to pyb (#34913)

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`
pull/34918/head
Esun Kim 1 year ago committed by GitHub
parent 90af0a115d
commit 32dd034675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .gitignore
  2. 2
      setup.cfg
  3. 2
      src/python/grpcio/commands.py

2
.gitignore vendored

@ -17,7 +17,7 @@ cython_debug/
dist/ dist/
htmlcov/ htmlcov/
py3*/ py3*/
python_build/ pyb/
python_pylint_venv/ python_pylint_venv/
src/python/grpcio_*/=* src/python/grpcio_*/=*
src/python/grpcio_*/build/ src/python/grpcio_*/build/

@ -4,7 +4,7 @@
plugins = Cython.Coverage plugins = Cython.Coverage
[build] [build]
build_base=python_build build_base=pyb
[build_ext] [build_ext]
inplace=1 inplace=1

@ -349,7 +349,7 @@ class Clean(setuptools.Command):
] ]
_FILE_PATTERNS = ( _FILE_PATTERNS = (
"python_build", "pyb",
"src/python/grpcio/__pycache__/", "src/python/grpcio/__pycache__/",
"src/python/grpcio/grpc/_cython/cygrpc.cpp", "src/python/grpcio/grpc/_cython/cygrpc.cpp",
"src/python/grpcio/grpc/_cython/*.so", "src/python/grpcio/grpc/_cython/*.so",

Loading…
Cancel
Save