Skip to content
Snippets Groups Projects
Select Git revision
  • 3310eaab99e1ceee270a70cac6fe88831d65040a
  • develop default protected
  • ascent-pipeline-trigger-spack-ref
  • ascent
  • fixes/compiler_paths_in_buildcache
  • features/env-dev-build-n-packages
  • bugfix/fork-function
  • features/install-tree-projections
  • gartung-bindist-check-macho-on-linux
  • features/spack-test-results-filterNlogs
  • features/spack-test-restore-subcommand-help
  • features/spack-test
  • features/solver-rebased
  • features/spack-test-add-show-subcommand
  • features/compil
  • bugfix/shasta-hotfix-live-branch
  • bugfix/ordered-dict-merge
  • features/solver
  • bugfix/buildable-true-override-virtual
  • csh-no-spack-root
  • features/spack-test-hdf5-fix
  • snapshot-20200922
  • releases/latest
  • v0.15.4
  • v0.15.3
  • v0.15.2
  • v0.15.1
  • v0.15.0
  • v0.14.2
  • v0.14.1
  • v0.14.0
  • v0.13.4
  • v0.13.3
  • v0.13.2
  • v0.13.1
  • v0.13.0
  • v0.12.1
  • v0.12.0
  • v0.11.2
  • v0.11.1
  • v0.11.0
41 results

spack-python

Blame
  • user avatar
    Todd Gamblin authored and GitHub committed
    The current implementation of `spack-python` will leave an extra shell
    around while it runs.  That shell should really replace itself with
    spack.
    
    - [x] add exec to spack-python script
    3310eaab
    History
    spack-python 744 B
    #!/bin/sh
    #
    # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
    # Spack Project Developers. See the top-level COPYRIGHT file for details.
    #
    # SPDX-License-Identifier: (Apache-2.0 OR MIT)
    
    #
    # spack-python
    #
    # If you want to write your own executable Python script that uses Spack
    # modules, on Mac OS or maybe some others, you may be able to do it like
    # this:
    #
    #   #!/usr/bin/env spack python
    #
    # Mac OS supports the above syntax, but it's not standard and most Linuxes
    # don't support more than one argument after the shebang command.  This
    # script is a workaround. Do this in your Python script instead:
    #
    #   #!/usr/bin/env spack-python
    #
    # This is compatible across platforms.
    #
    exec /usr/bin/env spack python "$@"