summaryrefslogtreecommitdiff
path: root/bin/spack-python
diff options
context:
space:
mode:
authorTodd Gamblin <gamblin2@llnl.gov>2021-03-07 13:37:26 -0800
committerGitHub <noreply@github.com>2021-03-07 13:37:26 -0800
commit8d3272f82dba4959ac3da068720d9befbf3ca044 (patch)
tree202c69956ada2f8f31fa695a7cb958d063ef5b78 /bin/spack-python
parent7aa5cc241d403414e76a07c8f9c77323d2c12e66 (diff)
downloadspack-8d3272f82dba4959ac3da068720d9befbf3ca044.tar.gz
spack-8d3272f82dba4959ac3da068720d9befbf3ca044.tar.bz2
spack-8d3272f82dba4959ac3da068720d9befbf3ca044.tar.xz
spack-8d3272f82dba4959ac3da068720d9befbf3ca044.zip
spack python: add --path option (#22006)
This adds a `--path` option to `spack python` that shows the `python` interpreter that Spack is using. e.g.: ```console $ spack python --path /Users/gamblin2/src/spack/var/spack/environments/default/.spack-env/view/bin/python ``` This is useful for debugging, and we can ask users to run it to understand what python Spack is picking up via preferences in `bin/spack` and via the `SPACK_PYTHON` environment variable introduced in #21222.
Diffstat (limited to 'bin/spack-python')
0 files changed, 0 insertions, 0 deletions