Skip to content

Commit a528002

Browse files
authored
New fixes (#98)
* Fixes to publish to pypi * Fixes to publish to pypi * Fixes to publish to pypi * Fixes to publish to pypi
1 parent 9bcc325 commit a528002

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/build_wheels.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
- name: Build wheels
141141
uses: pypa/cibuildwheel@7940a4c0e76eb2030e473a5f864f291f63ee879b # v2.21.3
142142
env:
143-
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}*
143+
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}_${{ matrix.buildplat[2] }}
144144
CIBW_ARCHS: ${{ matrix.buildplat[2] }}
145145
CIBW_PRERELEASE_PYTHONS: True
146146
CIBW_FREE_THREADED_SUPPORT: True
@@ -182,7 +182,13 @@ jobs:
182182
uses: actions/download-artifact@v4
183183
with:
184184
path: dist
185-
merge-multiple: true
185+
merge-multiple: false
186+
187+
- name: check wheels
188+
run: |
189+
for wheel in dist/*.whl; do
190+
head -c 4 wheelhouse/qc_PyCI-0.6.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | hexdump -C
191+
done
186192
187193
- name: Publish distribution to PyPI
188194
uses: pypa/gh-action-pypi-publish@release/v1

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ def finalize_options(self):
99
self.root_is_pure = False
1010

1111
def get_tag(self):
12-
python, abi, plat = _bdist_wheel.get_tag(self)
13-
python, abi = 'py3', 'none'
14-
return python, abi, plat
12+
return _bdist_wheel.get_tag(self)
1513

1614
class MyDistribution(Distribution):
1715

0 commit comments

Comments
 (0)