aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <atash@google.com>2016-06-07 22:19:46 -0700
committerGravatar Masood Malekghassemi <atash@google.com>2016-06-07 22:19:48 -0700
commitf6d09f2566561c9407c564a46901ff3a237ce115 (patch)
tree48c1c43e754adde2df68298bcfac6b99e364a789 /tools/run_tests
parent2dbc217e5e3f44e4b2037601a7c21b650edaa066 (diff)
Fix command ordering for building Python artifacts
Source packages were not getting the necessary C files due to `make_grpcio_tools.py` not being invoked before `sdist` through `setup.py`.
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-xtools/run_tests/build_artifact_python.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/run_tests/build_artifact_python.sh b/tools/run_tests/build_artifact_python.sh
index 4320f978e3..55f8eb634b 100755
--- a/tools/run_tests/build_artifact_python.sh
+++ b/tools/run_tests/build_artifact_python.sh
@@ -59,12 +59,14 @@ ${SETARCH_CMD} ${PYTHON} setup.py \
${SETARCH_CMD} ${PYTHON} setup.py \
bdist_wheel
+# Build gRPC tools package distribution
+${PYTHON} tools/distrib/python/make_grpcio_tools.py
+
# Build gRPC tools package source distribution
${SETARCH_CMD} ${PYTHON} tools/distrib/python/grpcio_tools/setup.py \
sdist
# Build gRPC tools package binary distribution
-${PYTHON} tools/distrib/python/make_grpcio_tools.py
CFLAGS="$CFLAGS -fno-wrapv" ${SETARCH_CMD} \
${PYTHON} tools/distrib/python/grpcio_tools/setup.py bdist_wheel