pypa/build

can not find header file

GoodenoughPhysicsLab opened this issue · 2 comments

when I type python -m build
image

but
image

i think it's a bug

python version: 3.8 and 3.12
os: win7, but windows-latest and ubuntu-latest appear in GitHub CI

Build builds your SDist then a wheel from that. So you are making SDists that are missing files. If you want to directly make the wheel, you can do python -m build --sdist --wheel. But you should fix your SDist to contain the headers you want, so people can build from it too.

image

Thank you for you answers, I'll close this issue beacuase it works.