Skip to content

Commit 6656d89

Browse files
committed
Build & push wheel packages on Linux. Fixes #200
1 parent 99ee548 commit 6656d89

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ci/before-deploy.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ deploy::build-docs
2424

2525
# build the sdist
2626
python setup.py sdist
27+
28+
# build the wheel
29+
python -m pip install wheel
30+
python setup.py bdist_wheel
31+
2732
mv dist dist_saved
2833

2934
# for the tarball upload
@@ -50,3 +55,7 @@ PKG_NAME_VER="python-gssapi-${PYTHON_GSSAPI_VERSION}"
5055

5156
tar -czvf ./tag_build/${PKG_NAME_VER}.tar.gz --exclude='dist' --exclude='tag_build' --exclude='.git' --exclude='travis_docs_build' --exclude='.git' --transform "s,^\.,${PKG_NAME_VER}," .
5257
sha512sum --binary ./tag_build/${PKG_NAME_VER}.tar.gz > ./tag_build/${PKG_NAME_VER}.sha512sum
58+
59+
# Rename and checksum the wheel
60+
mv dist/*.whl dist/"${PKG_NAME_VER}.whl"
61+
sha512sum --binary ./dist/${PKG_NAME_VER}.whl > ./dist/${PKG_NAME_VER}.sha512sum

0 commit comments

Comments
 (0)