diff options
author | Joseph Hunkeler <jhunk@stsci.edu> | 2016-04-19 19:54:57 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2016-04-19 19:54:57 -0400 |
commit | 332f122282003ecbc36c22b88eba2bd2a39b5d80 (patch) | |
tree | dbfd0497b4ae6117cfb2efc2eb7d23ca7be06da9 /pyraf/build.sh | |
parent | 85ee86fe93c05b62cacd84a1873d7056021415ea (diff) | |
download | astroconda-dev-332f122282003ecbc36c22b88eba2bd2a39b5d80.tar.gz |
Add updated pyraf
Diffstat (limited to 'pyraf/build.sh')
-rw-r--r-- | pyraf/build.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pyraf/build.sh b/pyraf/build.sh index 10954df..4b1dd33 100644 --- a/pyraf/build.sh +++ b/pyraf/build.sh @@ -1,3 +1,11 @@ +if [[ `uname -s` == "Darwin" ]]; then + export CFLAGS="-I/opt/X11/include" + export LDFLAGS="-L/opt/X11/lib" +fi +if [[ $PY3K > 0 ]]; then +set +e + 2to3 -w --fix=print,except,numliterals . +fi -python setup.py install || exit 1
\ No newline at end of file +python setup.py install || exit 1 |