Repository navigation
Commit 2b56523
fix(wheels): install to platlib so auditwheel can repair the linux wheel
The prior fix tagged the wheel platform-specific but the .so still landed in
purelib, so auditwheel rejected it ("shared library in purelib folder; must be
platlib compliant"). Declare has_ext_modules via a BinaryDistribution so
setuptools installs the loadable to platlib (Root-Is-Purelib: false); the
bdist_wheel override keeps the ABI-agnostic py3-none-<platform> tag. Verified
locally.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d93bbfb commit 2b56523
1 file changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
41 | 50 | | |
42 | 51 | | |
43 | 52 | | |
| |||
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
51 | | - | |
| 60 | + | |
| 61 | + | |
0 commit comments