Skip to content

Commit 1421f1c

Browse files
committed
Merge pull request #4 from pypa/rmcgibbo-patch-1
Update build-wheels.sh
2 parents 3f6a025 + ad5ec93 commit 1421f1c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
)
1010

1111
setup(
12-
name = 'python-maylinux-demo',
12+
name = 'python-manylinux-demo',
1313
version = '1.0',
1414
description = 'This is a demo package with a compiled C extension.',
1515
ext_modules = [extension_module],

travis/build-wheels.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/bash
2-
PYTHON_VERSIONS="2.7 3.4 3.5"
2+
set -e -x
33

44
# Install a system package required by our library
55
yum install -y atlas-devel
66

77
# Compile wheels
8-
for PYTHON in ${PYTHON_VERSIONS}; do
9-
/opt/${PYTHON}/bin/pip install -r /io/dev-requirements.txt
10-
/opt/${PYTHON}/bin/pip wheel /io/ -w wheelhouse/
8+
for PYBIN in /opt/python/*/bin; do
9+
${PYBIN}/pip install -r /io/dev-requirements.txt
10+
${PYBIN}/pip wheel /io/ -w wheelhouse/
1111
done
1212

1313
# Bundle external shared libraries into the wheels
@@ -16,7 +16,7 @@ for whl in wheelhouse/*.whl; do
1616
done
1717

1818
# Install packages and test
19-
for PYTHON in ${PYTHON_VERSIONS}; do
20-
/opt/${PYTHON}/bin/pip install python_manylinux_demo --no-index -f wheelhouse
21-
(cd $HOME; /opt/${PYTHON}/bin/nosetests pymanylinuxdemo)
19+
for PYBIN in /opt/python/*/bin/; do
20+
${PYBIN}/pip install python_manylinux_demo --no-index -f /io/wheelhouse
21+
(cd $HOME; ${PYBIN}/nosetests pymanylinuxdemo)
2222
done

0 commit comments

Comments
 (0)