Catch improperly pure wheel

This commit is contained in:
Michael Davidsaver
2023-02-03 09:47:36 -08:00
parent b28f473d69
commit 35c093fe4b
+7
View File
@@ -353,6 +353,13 @@ jobs:
- name: Check wheels
run: python -m twine check dist/pvxslibs-*.whl
- name: Check for impure wheel
shell: bash
run: |
python -m wheel unpack -d junk dist/pvxslibs-*.whl
ls junk/*/*.dist-info/WHEEL
! ls junk/*/*/purelib
- name: Upload wheels
if: github.event_name=='push' && github.ref=='refs/heads/master'
env: