summaryrefslogtreecommitdiff
path: root/.ci/travis-build-wheels.sh
diff options
context:
space:
mode:
authorYury Selivanov <yury@edgedb.com>2019-11-04 11:47:14 -0500
committerYury Selivanov <yury@edgedb.com>2019-11-04 13:10:44 -0500
commita40c3f8ecee12a800151d8375ed5272eccd8fe23 (patch)
treecf700de04fb5d09c27da656160abbc98322439d5 /.ci/travis-build-wheels.sh
parent2b52677fdde34b1c89bdf4411ef95bd1ed0f343d (diff)
downloadimmutables-a40c3f8ecee12a800151d8375ed5272eccd8fe23.tar.gz
immutables-a40c3f8ecee12a800151d8375ed5272eccd8fe23.zip
Fix manylinux for 3.8
Diffstat (limited to '.ci/travis-build-wheels.sh')
-rwxr-xr-x.ci/travis-build-wheels.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/.ci/travis-build-wheels.sh b/.ci/travis-build-wheels.sh
index a7fafb9..a36e281 100755
--- a/.ci/travis-build-wheels.sh
+++ b/.ci/travis-build-wheels.sh
@@ -38,9 +38,11 @@ _upload_wheels() {
if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
for pyver in ${RELEASE_PYTHON_VERSIONS}; do
ML_PYTHON_VERSION=$(python3 -c \
- "print('cp{maj}{min}-cp{maj}{min}m'.format( \
+ "print('cp{maj}{min}-cp{maj}{min}{s}'.format( \
maj='${pyver}'.split('.')[0], \
- min='${pyver}'.split('.')[1]))")
+ min='${pyver}'.split('.')[1], \
+ s='m' if tuple('${pyver}'.split('.')) < ('3', '8') \
+ else ''))")
for arch in x86_64 i686; do
ML_IMAGE="quay.io/pypa/manylinux1_${arch}"