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 @@ ...@@ -5,8 +5,15 @@
VERSION_NUMBER=$(cat "VERSION") VERSION_NUMBER=$(cat "VERSION")
echo "installing binarcpython version $VERSION_NUMBER" echo "installing binarcpython version $VERSION_NUMBER"
python setup.py clean # we can only use python3 and python3, but allow
pip uninstall binarycpython # the user to set these in environment variables
python setup.py build --force # PYTHON and PIP.
python setup.py sdist : "${PYTHON:="python3"}"
pip install -v dist/binarycpython-$VERSION_NUMBER.tar.gz : "${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