https://pantsbuild.org/ logo
#general
Title
# general
c

cold-breakfast-93567

05/29/2021, 5:12 PM
However, even though when I'm running
./pants --version
the bootstrapping still kicks in and start installing the packages again including the broken
psutil==5.4.8
h

hundreds-father-404

05/29/2021, 5:13 PM
Hey Robert, welcome! You will probably want to modify the
./pants
bash script to install the same way you got working. Note that it's doing nothing more than setting up a virtualenv and then
pip install pantsbuild.pants
for you
it's valid for you to modify the Bash script and check that into your repo
c

cold-breakfast-93567

05/29/2021, 5:16 PM
Yeah, I can edit
./pants
. I'm not sure though what virtual env is being setup by
./pants
.
Oh, yeah, you're right.
There is a
venv_path="$(bootstrap_venv)"
in this script.
Let me try to figure out what virtualenv is prepared here and try to similarly preinstall everything there.
Thank you for the help!
Greatly appreciated!
The misunderstanding for me here was that I expected that the currently active virtualenv is used by pants bootstrapping. So naively I expected the bootsrap to fall back to my manuall install
+1 fixed
./pants
based on your suggestion. Thank you again.
h

hundreds-father-404

06/01/2021, 8:28 PM
Great!