Debian Codegraph @

bindings/python/build_wheel.sh

raw symbols SCIP
1 #!/bin/bash
2 set -e -x
3
4 cd bindings/python
5 sudo rm /usr/bin/python && sudo ln -s /opt/python/cp27-cp27m/bin/python /usr/bin/python; python -V
6
7 # Compile wheels
8 if [ -f /opt/python/cp36-cp36m/bin/python ];then
9 /opt/python/cp36-cp36m/bin/python setup.py bdist_wheel
10 else
11 python3 setup.py bdist_wheel
12 fi
13 cd dist
14 auditwheel repair *.whl
15 mv -f wheelhouse/*.whl .