diff options
-rw-r--r-- | cubeviz/build.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cubeviz/build.sh b/cubeviz/build.sh index e5a977a..14c64d7 100644 --- a/cubeviz/build.sh +++ b/cubeviz/build.sh @@ -1,3 +1,9 @@ # Replace malformed pytest requirement with something sane -sed -i .bad -e 's/pytest==*/pytest>=3.1.0/' setup.py setup.cfg +pytest_pattern='s/pytest==*/pytest>=3.1.0/' +for f in setup.* +do + sed -e ${pytest_pattern} "${f}" > "${f}.new" + mv "${f}.new" "${f}" +done + $PYTHON setup.py install |