forked from htseq/htseq
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstallwheels.sh
More file actions
executable file
·30 lines (26 loc) · 893 Bytes
/
installwheels.sh
File metadata and controls
executable file
·30 lines (26 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
#
# Build manylinux wheels for HTSeq. Based on the example at
# <https://github.com/pypa/python-manylinux-demo>
#
# It is best to run this in a fresh clone of the repository!
#
# Run this within the repository root:
# docker run --rm -v $(pwd):/io quay.io/pypa/manylinux2010_x86_64 /io/buildwheels.sh
#
# The wheels will be put into the wheelhouse/ subdirectory.
#
# For interactive tests:
# docker run -it -v $(pwd):/io quay.io/pypa/manylinux2010_x86_64 /bin/bash
set -xeuo pipefail
echo "PYTHON_VERSION: ${PYTHON_VERSION}"
export PYTHON_FDN=cp$(echo ${PYTHON_VERSION} | sed 's/\.//')
PYBINS="/opt/python/${PYTHON_FDN}*/bin"
for PYBIN in ${PYBINS}; do
echo "PYBIN = ${PYBIN}"
echo "Install from Pypi..."
(cd /io; ls; OS_NAME='centos-6' PYTHON=${PYBIN}/python PATH=${PYBIN}:${PATH} ./.ci_postdeploy_install.sh)
if [ $? != 0 ]; then
exit 1
fi
done