summaryrefslogtreecommitdiff
path: root/.github/actions/add-maintainers-as-reviewers
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2020-01-28 21:31:53 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2020-02-12 16:45:41 -0800
commita7b43f1015a0559705f2714a680aa9f87313e603 (patch)
tree27f00358340dbadbf17a490d9cce02fdda5fd607 /.github/actions/add-maintainers-as-reviewers
parent90f3635afd5d4079631460535bcd8213945b0349 (diff)
downloadspack-a7b43f1015a0559705f2714a680aa9f87313e603.tar.gz
spack-a7b43f1015a0559705f2714a680aa9f87313e603.tar.bz2
spack-a7b43f1015a0559705f2714a680aa9f87313e603.tar.xz
spack-a7b43f1015a0559705f2714a680aa9f87313e603.zip
spack python: add -m option to run modules as scripts
It's often useful to run a module with `python -m`, e.g.: python -m pyinstrument script.py Running a python script this way was hard, though, as `spack python` did not have a similar `-m` option. This PR adds a `-m` option to `spack python` so that we can do things like this: spack python -m pyinstrument ./test.py This makes it easy to write a script that uses a small part of Spack and then profile it. Previously thee easiest way to do this was to write a custom Spack command, which is often overkill.
Diffstat (limited to '.github/actions/add-maintainers-as-reviewers')
0 files changed, 0 insertions, 0 deletions