diff options
author | James E.H. Turner <jturner@gemini.edu> | 2016-08-23 11:42:41 -0400 |
---|---|---|
committer | James E.H. Turner <jturner@gemini.edu> | 2016-08-23 11:42:41 -0400 |
commit | 8ab12cb90f1869fd2ab9c18230675fc4d8625787 (patch) | |
tree | 6192370d2fbea3260c2b8b37f0e33940f056a3a6 | |
parent | 085281eed1349fa23926754e58d5cd0021f5fe6a (diff) | |
download | astroconda-iraf-helpers-8ab12cb90f1869fd2ab9c18230675fc4d8625787.tar.gz |
Always use the OS Python in update_extern_pkg, to avoid conda changing its interpreter path at build time and then running it before relocating the path properly at install time -- and so we know it will continue working after testing on any given OS.
-rwxr-xr-x | scripts/update_extern_pkg | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/update_extern_pkg b/scripts/update_extern_pkg index ce04650..cf08368 100755 --- a/scripts/update_extern_pkg +++ b/scripts/update_extern_pkg @@ -1,6 +1,10 @@ -#!/usr/bin/env python +#!/usr/bin/python # # Copyright(c) 2016 Association of Universities for Research in Astronomy, Inc. +# +# This script uses the OS Python to avoid Conda relocation/dependency problems +# (since it is run before package installation is complete). Both the LSB and +# MacOS define Python in /usr/bin as standard. import argparse import os, os.path |