aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <atash@google.com>2016-02-11 14:58:59 -0800
committerGravatar Masood Malekghassemi <atash@google.com>2016-02-11 15:06:40 -0800
commit2bbffcf18f62eb4d56082780220312f352a2a678 (patch)
tree77be276886bcbac4aa28f997fa4c3a9adff305d0 /tools
parentb6d3a8238d58730472a14524ecd06ad94550a48b (diff)
Reorder Python artifact commands
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/build_artifact_python.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/run_tests/build_artifact_python.sh b/tools/run_tests/build_artifact_python.sh
index f2c10aba7b..5768485ca2 100755
--- a/tools/run_tests/build_artifact_python.sh
+++ b/tools/run_tests/build_artifact_python.sh
@@ -39,18 +39,20 @@ then
pip install -rrequirements.txt
fi
+# The bdist_wheel_grpc_custom command is finicky about command output ordering
+# and thus ought to be run in a shell command separate of others. Further, it
+# trashes the actual bdist_wheel output, so it should be run first so that
+# bdist_wheel may be run unmolested.
GRPC_PYTHON_USE_CUSTOM_BDIST=0 \
GRPC_PYTHON_BUILD_WITH_CYTHON=1 \
${SETARCH_CMD} python setup.py \
- bdist_wheel \
- sdist
+ bdist_wheel_grpc_custom
-# The bdist_wheel_grpc_custom command is finicky about command output ordering
-# and thus ought to be run in a shell command separate of others.
GRPC_PYTHON_USE_CUSTOM_BDIST=0 \
GRPC_PYTHON_BUILD_WITH_CYTHON=1 \
${SETARCH_CMD} python setup.py \
- bdist_wheel_grpc_custom
+ bdist_wheel \
+ sdist
mkdir -p artifacts