diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2017-12-22 14:11:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-22 14:11:21 -0500 |
commit | 9fe77b5a5fd60900291b5ec41bd92a18012dc623 (patch) | |
tree | ab786434031f4df994f2c2d8867081d876629a8b /cubeviz/build.sh | |
parent | f3eea92c754ece7932ba767dd8b04925f6769411 (diff) | |
download | astroconda-contrib-9fe77b5a5fd60900291b5ec41bd92a18012dc623.tar.gz |
Contrib cubeviz & asteval (#293)
* Initial commit of cubeviz
* Initial commit of asteval
Diffstat (limited to 'cubeviz/build.sh')
-rw-r--r-- | cubeviz/build.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cubeviz/build.sh b/cubeviz/build.sh new file mode 100644 index 0000000..51994e4 --- /dev/null +++ b/cubeviz/build.sh @@ -0,0 +1,12 @@ +# Replace malformed pytest requirement with something sane +pytest_pattern='s/pytest==/pytest>=/' +glue_pattern='s/glueviz//' +numpy_pattern='s|numpy>=1.13|numpy>=1.12|' + +for f in setup.* +do + sed -e ${pytest_pattern} -e ${glue_pattern} -e ${numpy_pattern} "${f}" > "${f}.new" + mv "${f}.new" "${f}" +done + +$PYTHON setup.py install |