| 
									
										
										
										
											2014-01-13 04:59:23 +01:00
										 |  |  | #!/bin/sh | 
					
						
							| 
									
										
										
										
											2018-10-07 13:52:23 -07:00
										 |  |  | # | 
					
						
							| 
									
										
										
										
											2022-01-12 11:21:41 -08:00
										 |  |  | # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other | 
					
						
							| 
									
										
										
										
											2018-10-07 13:52:23 -07:00
										 |  |  | # Spack Project Developers. See the top-level COPYRIGHT file for details. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # SPDX-License-Identifier: (Apache-2.0 OR MIT) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-01-13 04:59:23 +01:00
										 |  |  | # | 
					
						
							|  |  |  | # 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. | 
					
						
							|  |  |  | # | 
					
						
							| 
									
										
										
										
											2020-03-29 19:38:15 -07:00
										 |  |  | exec /usr/bin/env spack python "$@" |