spack/bin/spack-python
Todd Gamblin eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00

25 lines
739 B
Bash
Executable file

#!/bin/sh
#
# Copyright 2013-2018 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.
#
/usr/bin/env spack python "$@"