Skip to content

Commit

Permalink
fix where UNICODE_WIDTH is defined, remove debug cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Mar 5, 2020
1 parent be1744e commit 3ffa2d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 6 additions & 1 deletion common_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ DOWNLOADS_SDIR=downloads
PYPY_URL=https://bitbucket.org/pypy/pypy/downloads
GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py

# Unicode width, default 32. Used here and in travis_linux_steps.sh
# In docker_build_wrap.sh it is passed in when calling "docker run"
# The docker test images also use it when choosing the python to run
# with, so it is passed in when calling "docker run" for tests.
UNICODE_WIDTH=${UNICODE_WIDTH:-32}

if [ $(uname) == "Darwin" ]; then IS_OSX=1; fi

# Work round bug in travis xcode image described at
Expand Down Expand Up @@ -343,7 +349,6 @@ function install_wheel {
local supported_wheels=$($PYTHON_EXE $MULTIBUILD_DIR/supported_wheels.py $wheelhouse/*.whl)
if [ -z "$supported_wheels" ]; then
echo "ERROR: no supported wheels found"
ls $wheelhouse/*.whl
exit 1
fi
# Install compatible wheel
Expand Down
3 changes: 0 additions & 3 deletions docker_build_wrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ set -e
# Change into root directory of repo
cd /io

# Unicode width, default 32
UNICODE_WIDTH=${UNICODE_WIDTH:-32}

# Location of wheels, default "wheelhouse"
WHEEL_SDIR=${WHEEL_SDIR:-wheelhouse}

Expand Down

0 comments on commit 3ffa2d1

Please sign in to comment.