Skip to content

Commit

Permalink
fixes for publishing python38 binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbelden committed Nov 6, 2019
1 parent 5a90de7 commit 6905437
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis_build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ cd `dirname $0`
TRAVIS_PYTHON_VERSION=$1
TRAVIS_PYTHON_VERSION=${TRAVIS_PYTHON_VERSION/.}

/opt/python/*${TRAVIS_PYTHON_VERSION}*m/bin/pip install cython
FASTAVRO_USE_CYTHON=1 /opt/python/*${TRAVIS_PYTHON_VERSION}*m/bin/python setup.py bdist_wheel
/opt/python/*${TRAVIS_PYTHON_VERSION}*/bin/pip install cython
FASTAVRO_USE_CYTHON=1 /opt/python/*${TRAVIS_PYTHON_VERSION}*/bin/python setup.py bdist_wheel

# Also produce a wheel for wide-char distributions.
if ls /opt/python/*${TRAVIS_PYTHON_VERSION}*mu &> /dev/null; then
Expand Down
8 changes: 6 additions & 2 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,19 @@ manylinux1_x86_64"
PyVers="27
35
36
37
38"
37"

for os in $OSes; do
for pyver in $PyVers; do
wget -q --directory-prefix=dist/ https://github.com/fastavro/fastavro/releases/download/${ver}/fastavro-${ver}-cp${pyver}-cp${pyver}m-${os}.whl
done
done

# Get the 38 versions
for os in $OSes; do
wget -q --directory-prefix=dist/ https://github.com/fastavro/fastavro/releases/download/${ver}/fastavro-${ver}-cp${pyver}-cp${pyver}-${os}.whl
done

# Also get the linux 2.7mu version
wget -q --directory-prefix=dist/ https://github.com/fastavro/fastavro/releases/download/${ver}/fastavro-${ver}-cp27-cp27mu-manylinux1_x86_64.whl

Expand Down

0 comments on commit 6905437

Please sign in to comment.