diff options
author | Masood Malekghassemi <atash@google.com> | 2016-02-11 13:08:14 -0800 |
---|---|---|
committer | Masood Malekghassemi <atash@google.com> | 2016-02-11 14:08:11 -0800 |
commit | b6d3a8238d58730472a14524ecd06ad94550a48b (patch) | |
tree | e47a1aea1d47fc9a47aaae2205e6bb2fbdeaefc3 /tools/run_tests | |
parent | 6e8a93966977b1e92de7358461e6a5f65160ebdd (diff) |
Paper over custom command limitations
The custom gRPC bdist command depends on numerous undocumented and
private behaviors of setuptools, wheel, distutils, etc. One such is the
ordering of generated distribution targets. We paper over this under the
assumption that the command will only be useful for gRPC devs, and
document with a command description a contractual obligation of users of
the command.
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/build_artifact_python.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/run_tests/build_artifact_python.sh b/tools/run_tests/build_artifact_python.sh index f22ddd9185..f2c10aba7b 100755 --- a/tools/run_tests/build_artifact_python.sh +++ b/tools/run_tests/build_artifact_python.sh @@ -43,7 +43,13 @@ GRPC_PYTHON_USE_CUSTOM_BDIST=0 \ GRPC_PYTHON_BUILD_WITH_CYTHON=1 \ ${SETARCH_CMD} python setup.py \ bdist_wheel \ - sdist \ + sdist + +# 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 mkdir -p artifacts |