Skip to content
Snippets Groups Projects
Commit 0a0f3bc9 authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

fix install for python3, update binary_c_python for clist changes

parent bb26bcd3
No related branches found
No related tags found
No related merge requests found
Pipeline #38202 failed
......@@ -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