creamy-activity-5659
09/24/2018, 2:27 PMenough-analyst-54434
09/24/2018, 4:23 PMpip install -U -r <(./pants dependencies --external-only 3rdparty/python::)
.
I use this workaround encoded in a script that also runs pants export and then point to this script when setting up my project using the idea plugin:
#!/usr/bin/env bash
set -euo pipefail
cd "$(git rev-parse --show-toplevel)"
# Update the python2 venv if needed for use as a Python SDK in IDEA.
./python --version >&2
# Update java dependencies.
exec ./pants --no-enable-pantsd export src/java::
In that example ./python
is a script that handles the venv creation / updating using the technique shown above.hundreds-father-404
09/24/2018, 4:29 PMaverage-lawyer-7503
09/24/2018, 5:20 PMcreamy-activity-5659
09/24/2018, 5:27 PMcreamy-activity-5659
09/24/2018, 5:42 PM