File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed
Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,18 @@ for VERSION in 2.7 3.4 3.5 3.6 3.7 3.8; do
1818 fi
1919 rm -rf build
2020
21- $PYTHON setup.py bdist_wheel
21+ # Install wheel if not already there.
22+ if ! $PYTHON -m wheel version; then
23+ createvirtualenv $PYTHON releasevenv
24+ WHEELPYTHON=python
25+ pip install --upgrade wheel
26+ else
27+ WHEELPYTHON=$PYTHON
28+ fi
29+
30+ $WHEELPYTHON setup.py bdist_wheel
31+ deactivate || true
32+ rm -rf releasevenv
2233
2334 # Test that each wheel is installable.
2435 for release in dist/* ; do
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ mv dist/* validdist || true
1111
1212# Compile wheels
1313for PYTHON in /opt/python/* /bin/python; do
14- # Skip Python 3.3 and 3.9.
15- if [[ " $PYTHON " == * " cp33" * || " $PYTHON " == * " cp39" * ]]; then
14+ if [[ ! $PYTHON =~ (cp27| cp34| cp35| cp36| cp37| cp38| cp39) ]]; then
1615 continue
1716 fi
1817 # https://github.com/pypa/manylinux/issues/49
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ unexpected=$(find dist \! \( -iname dist -or \
2727 -iname ' *cp35*' -or \
2828 -iname ' *cp36*' -or \
2929 -iname ' *cp37*' -or \
30- -iname ' *cp38*' \) )
30+ -iname ' *cp38*' -or \
31+ -iname ' *cp39*' \) )
3132if [ -n " $unexpected " ]; then
3233 echo " Unexpected files:" $unexpected
3334 exit 1
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ rm -rf validdist
88mkdir -p validdist
99mv dist/* validdist || true
1010
11- for VERSION in 27 34 35 36 37 38; do
11+ for VERSION in 27 34 35 36 37 38 39 ; do
1212 _pythons=(C:/Python/Python${VERSION} /python.exe \
1313 C:/Python/32/Python${VERSION} /python.exe)
1414 for PYTHON in " ${_pythons[@]} " ; do
Original file line number Diff line number Diff line change @@ -817,6 +817,7 @@ tasks:
817817
818818 - name : " release"
819819 tags : ["release"]
820+ exec_timeout_secs : 216000 # 60 minutes (manylinux task is slow).
820821 git_tag_only : true
821822 commands :
822823 - command : shell.exec
You can’t perform that action at this time.
0 commit comments