Join Slack
Powered by
I've got a Python unit test that needs to call the...
# general
r
ripe-gigabyte-88964
05/02/2023, 4:38 PM
I've got a Python unit test that needs to call the CLI of a utility that lives in the pex file. Is there a way to make utilities inside the PEX available on the PATH?
✅ 1
ripe-gigabyte-88964
05/02/2023, 5:18 PM
Update: adding
extra_env_vars=["PEX_VENV=1", "PEX_VENV_BIN_PATH=prepend"]
to the test build target worked
👍 2
Open in Slack
Previous
Next