Skip to content
Snippets Groups Projects
Commit 27123a3b authored by dh00601's avatar dh00601
Browse files

Merge branch 'master' of gitlab.surrey.ac.uk:ri0005/binary_c-python

parents 906f5771 0a0f3bc9
No related branches found
No related tags found
No related merge requests found
Pipeline #38203 passed
......@@ -5,8 +5,15 @@
VERSION_NUMBER=$(cat "VERSION")
echo "installing binarcpython version $VERSION_NUMBER"
python setup.py clean
pip uninstall binarycpython
python setup.py build --force
python setup.py sdist
pip install -v dist/binarycpython-$VERSION_NUMBER.tar.gz
# we can only use python3 and python3, but allow
# the user to set these in environment variables
# PYTHON and PIP.
: "${PYTHON:="python3"}"
: "${PIP:="pip3"}"
# do stuff...
$PYTHON setup.py clean
$PIP uninstall binarycpython
$PYTHON setup.py build --force
$PYTHON setup.py sdist
$PIP install -v dist/binarycpython-$VERSION_NUMBER.tar.gz
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment