aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <atash@google.com>2016-07-15 23:40:32 -0700
committerGravatar Masood Malekghassemi <atash@google.com>2016-07-16 01:31:50 -0700
commitc089a58a20b5f6ca996640016cdcba4d62712601 (patch)
tree9ca09d378095969c19358d5bbcc1460a3b07e674 /tools/run_tests
parent027835fbd684cabd1f8b4114f431e8ee3a6d6a72 (diff)
Change directory when building grpcio-tools
Diffstat (limited to 'tools/run_tests')
-rw-r--r--tools/run_tests/build_artifact_python.bat12
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/run_tests/build_artifact_python.bat b/tools/run_tests/build_artifact_python.bat
index 7c8c2aa12d..d0b147b426 100644
--- a/tools/run_tests/build_artifact_python.bat
+++ b/tools/run_tests/build_artifact_python.bat
@@ -65,11 +65,19 @@ python tools\distrib\python\make_grpcio_tools.py
@rem Build gRPC Python extensions
python setup.py build_ext -c mingw32
-python tools\distrib\python\grpcio_tools\setup.py build_ext -c mingw32
+
+pushd tools\distrib\python\grpcio_tools
+python setup.py build_ext -c mingw32
+popd
+
@rem Build gRPC Python distributions
python setup.py bdist_wheel
-python tools\distrib\python\grpcio_tools\setup.py bdist_wheel
+
+pushd tools\distrib\python\grpcio_tools
+python setup.py bdist_wheel
+popd
+
mkdir artifacts
xcopy /Y /I /S dist\* artifacts\ || goto :error