sudoforge / pkgbuilds

PKGBUILDs for the AUR.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

blueyed opened this issue · comments

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.)

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