You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed by using uv and create fresh package. then added hook to modify metadata.
copy the shared libraries to the package directory. uv copy them by default.
set pure_python to false (it's platform specific) and set specific tag (simply the wheel filename eventually).
tags used: py3-none-win_amd64py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64py3-none-macosx_10_12_x86_64py3-none-macosx_11_0_arm64. it's possible also to cross build. the wheels aren't platform specific in reality only the c lib I added. #5
Hatch is more flexible. I needed custom hook for set custom tag and
pure_python = False
Include dynamic libraries pypa/hatch#1844
Help me please. Are *.pyd files excluded by default? pypa/hatch#1759 (reply in thread)
https://discord.com/channels/1039017663004942429/1315030948999331943
https://discord.com/channels/1039017663004942429/1039017663512449056/1315125586670391337
https://discuss.python.org/t/package-with-pre-compiled-shared-libs/73607
Flit doesn't support platform specific wheels
We'll need aarch64 and x86-64 for macOS
Solution
The text was updated successfully, but these errors were encountered: