diff options
author | James E.H. Turner <jturner@gemini.edu> | 2016-09-05 18:57:06 -0400 |
---|---|---|
committer | James E.H. Turner <jturner@gemini.edu> | 2016-09-05 18:57:06 -0400 |
commit | 0154faa9a3d4ea866e0a4aba61797ac1f5248df5 (patch) | |
tree | cdbb9db7fcf0ae03f47c031c9da8c97393b7c912 | |
parent | 5850ffe730c50efcd92827e080e1fb22461cee9c (diff) | |
download | astroconda-iraf-helpers-0154faa9a3d4ea866e0a4aba61797ac1f5248df5.tar.gz |
Make ac_update_extern_pkg non-executable, in favour of invoking it via ac_config_iraf_pkg, since conda can break its interpreter path if there is one.
-rw-r--r--[-rwxr-xr-x] | scripts/ac_update_extern_pkg | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/ac_update_extern_pkg b/scripts/ac_update_extern_pkg index ee618c3..d625d3f 100755..100644 --- a/scripts/ac_update_extern_pkg +++ b/scripts/ac_update_extern_pkg @@ -1,10 +1,10 @@ -#!/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. +# This script uses the OS Python (both the LSB and MacOS define Python in +# /usr/bin as standard), avoiding dependence on the installation that is still +# in progress when it gets run. It is not made executable because conda insists +# on changing any Python interpreter path to $PREFIX/bin/python, which does not +# always exist; it can instead be invoked via ac_config_iraf_pkg. import argparse import os, os.path |