happy-alarm-36194
02/26/2021, 12:04 AMhundreds-father-404
02/26/2021, 12:10 AMhappy-alarm-36194
02/26/2021, 12:16 AMhundreds-father-404
02/26/2021, 12:18 AMpsutil
because it's prebuilt for youhappy-alarm-36194
02/26/2021, 12:20 AMhundreds-father-404
02/26/2021, 12:20 AMI'm kind of worried it will install extra dependencies on my system. Will it?Depends what you mean - Pants will download things like Pytest and your 3rd party dependencies so that it can run these tools, but that happens in
~/.cache/pants
and won't leak into your system
If you install Pants via the ./pants
script, pip will also install Pants dependencies into ~/.cache/pants/setup
. If you use the Pex approach, that part is skippedhundreds-father-404
02/26/2021, 12:21 AMBut wouldn't that mean you have to download a larger file, with all the dependecies?Indeed. Although, with the normal
./pants
script, pip will still have to download those deps either way (unless already cached)happy-alarm-36194
02/26/2021, 12:22 AM