summaryrefslogtreecommitdiff
path: root/scripts/update_extern_pkg
diff options
context:
space:
mode:
authorJames E.H. Turner <jturner@gemini.edu>2016-08-23 11:42:41 -0400
committerJames E.H. Turner <jturner@gemini.edu>2016-08-23 11:42:41 -0400
commit8ab12cb90f1869fd2ab9c18230675fc4d8625787 (patch)
tree6192370d2fbea3260c2b8b37f0e33940f056a3a6 /scripts/update_extern_pkg
parent085281eed1349fa23926754e58d5cd0021f5fe6a (diff)
downloadastroconda-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.
Diffstat (limited to 'scripts/update_extern_pkg')
-rwxr-xr-xscripts/update_extern_pkg6
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