remove "build_deps" arg from setup.py command in (#26113)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26113

After https://github.com/pytorch/pytorch/pull/16914, passing in an
argument such as "build_deps" (i.e. python setup.py build_deps develop) is
invalid since it gets picked up as an invalid argument.
ghstack-source-id: 90003508

Test Plan:
Before, this script would execute "python setup.py build_deps
develop", which errored. Now it executes "python setup.py develop" without an
error. Verified by successfully running the script on devgpu. In setup.py,
there is already a `RUN_BUILD_DEPS = True` flag.

Differential Revision: D17350359

fbshipit-source-id: 91278c3e9d9f7c7ed8dea62380f18ba5887ab081
This commit is contained in:
Rohan Varma
2019-09-12 15:32:40 -07:00
committed by Facebook Github Bot
parent ffee507d36
commit 369064fa0d

View File

@ -140,7 +140,7 @@ with_proxy python setup.py develop
# Build PyTorch and Caffe2
cd "$onnx_root/pytorch"
with_proxy pip install -r "requirements.txt"
with_proxy python setup.py build_deps develop
with_proxy python setup.py develop
# Sanity checks and useful info
cd "$onnx_root"