Skip to content

Commit

Permalink
Attempt to fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrameos committed Jul 15, 2020
1 parent cdbcd16 commit a18293d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .azure/scripts/build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,23 @@ pys=(${pys[@]//*27*/})

# Compile wheels
for PYBIN in "${pys[@]}"; do
echo "Compile $PYBIN"
ls -l /io/dist
"${PYBIN}/pip" install -r /io/dev-requirements.txt
"${PYBIN}/pip" wheel /io/dist/$package_name-*.tar.gz -w wheelhouse/
done
echo "=============="

# Bundle external shared libraries into the wheels
for whl in wheelhouse/$package_name-*.whl; do
echo "Audit $whl"
auditwheel repair --plat $PLAT "$whl" -w /io/wheelhouse/
done
echo "=============="

# Install packages and test
for PYBIN in "${pys[@]}"; do
echo "Test install $PYBIN $package_name"
"${PYBIN}/python" -m pip install $package_name --no-index -f /io/wheelhouse
# Manylinux does not have a JVM so there is no way to test the wheel in the docker
# "${PYBIN}/pip" install -r /io/test-requirements.txt
Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
typing-extensions ; python_version< "3.8"

0 comments on commit a18293d

Please sign in to comment.