File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 9
9
)
10
10
11
11
setup (
12
- name = 'python-maylinux -demo' ,
12
+ name = 'python-manylinux -demo' ,
13
13
version = '1.0' ,
14
14
description = 'This is a demo package with a compiled C extension.' ,
15
15
ext_modules = [extension_module ],
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- PYTHON_VERSIONS= " 2.7 3.4 3.5 "
2
+ set -e -x
3
3
4
4
# Install a system package required by our library
5
5
yum install -y atlas-devel
6
6
7
7
# 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/
11
11
done
12
12
13
13
# Bundle external shared libraries into the wheels
@@ -16,7 +16,7 @@ for whl in wheelhouse/*.whl; do
16
16
done
17
17
18
18
# 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)
22
22
done
You can’t perform that action at this time.
0 commit comments