File tree 1 file changed +4
-10
lines changed
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 4
4
# Build wheels (on Linux or OSX) using cibuildwheel.
5
5
#
6
6
7
+ PYTHON=$( which python3)
8
+
7
9
this_dir=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
8
10
9
11
@@ -54,17 +56,9 @@ $this_dir/install-librdkafka.sh $librdkafka_version dest
54
56
55
57
install_pkgs=cibuildwheel==$cibuildwheel_version
56
58
57
- python -m pip install ${PIP_INSTALL_OPTS} $install_pkgs ||
59
+ $PYTHON -m pip install ${PIP_INSTALL_OPTS} $install_pkgs ||
58
60
pip3 install ${PIP_INSTALL_OPTS} $install_pkgs
59
61
60
- export PATH=" $HOME /.local/bin:$PATH "
61
-
62
- which pip3
63
- which python3
64
- pip3 --version
65
- python3 --version
66
- python3 -m site
67
-
68
62
if [[ -z $TRAVIS ]]; then
69
63
cibw_args=" --platform $os "
70
64
fi
@@ -73,7 +67,7 @@ if [[ $os == "macos" ]]; then
73
67
python3 $this_dir /install-macos-python-required-by-cibuildwheel.py $cibuildwheel_version
74
68
fi
75
69
76
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$PWD /$lib_dir python3 -m cibuildwheel --output-dir $wheeldir $cibw_args
70
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$PWD /$lib_dir $PYTHON -m cibuildwheel --output-dir $wheeldir $cibw_args
77
71
78
72
ls $wheeldir
79
73
You can’t perform that action at this time.
0 commit comments