From 332f122282003ecbc36c22b88eba2bd2a39b5d80 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 19 Apr 2016 19:54:57 -0400 Subject: Add updated pyraf --- pyraf/build.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'pyraf/build.sh') 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 -- cgit