#in your makefile you have `python m
1 messages ยท Page 1 of 1 (latest)
/me tries a thread for the first time.....
Are you suggesting a change of some sort?
just python -m build
(BTW: the new official tutorial is better than my attempt, so I'm not sure I'll ever actually publish it, but I'm interested to learn for my own projects)
just -m build i guess does the same as --sdist ---wheel, but I kind of like being more explicit. Is there a bad thing about being explicit? Does it take longer, or something?
it doesn't, actually. build without args builds an sdist, extracts it, cds into the sdist folder and builds the wheel with the sdist folder as the project root. --sdist --wheel will build both the sdist and the wheel from your cwd
so they do behave differently. it sounds like the wheel could come out different under the two scenarios?
yeah, usually the way this manifests is you've forgotten to include some files in your sdist's manifest.in and they don't get bundled in the wheel or the wheel build fails
there's a bunch of these on the build tracker, all relating to setuptools: https://github.com/pypa/build/issues/530
with Hatch no pesky MANIFEST.in ๐
Hatch, or hatchling? ๐