Skip to content

Commit 96c0ce2

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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ci/before-deploy.sh

Lines changed: 8 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
@@ -46,6 +51,9 @@ else
4651
PYTHON_GSSAPI_VERSION=${tag#v}
4752
fi
4853

54+
# checksum the wheel
55+
sha512sum --binary ./dist/gssapi-${PYTHON_GSSAPI_VERSION}.whl > ./dist/${PYTHON_GSSAPI_VERSION}.sha512sum
56+
4957
PKG_NAME_VER="python-gssapi-${PYTHON_GSSAPI_VERSION}"
5058

5159
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}," .

0 commit comments

Comments
 (0)