sudoforge / pkgbuilds

PKGBUILDs for the AUR.
The Unlicense
23 stars 28 forks source link

google-cloud-sdk: set CLOUDSDK_PYTHON to /usr/bin/python #62

Closed blueyed closed 2 years ago

blueyed commented 2 years ago

I think it would be good to use export CLOUDSDK_PYTHON=/usr/bin/python (instead of just python) in /etc/profile.d/google-cloud-sdk.sh, so that it would not use the Python binary from $PATH (e.g. an activated virtualenv).

(It is relevant with e.g. gcloud beta compute ssh …, which might suggest to install NumPy, which might be missing in the virtualenv.)

sudoforge commented 2 years ago

Given that this is installed at the system level, I think this is a fine idea. Thanks for the suggestion!