google-cloud-cli: Install missing "platform" directory (#49367)

Ignore the bundled Python since it's provided by Spack.

This fixes the "gsutil" command.
This commit is contained in:
Rémi Lacroix 2025-03-08 06:16:57 +01:00 committed by GitHub
parent 1c76c88f2c
commit 5783f950cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,3 +101,5 @@ def install(self, spec, prefix):
install_tree("bin", prefix.bin) install_tree("bin", prefix.bin)
install_tree("lib", prefix.lib) install_tree("lib", prefix.lib)
ignore_bundledpython = lambda p: p == "bundledpythonunix"
install_tree("platform", prefix.platform, ignore=ignore_bundledpython)