#in your makefile you have `python m

1 messages ยท Page 1 of 1 (latest)

exotic jolt
#

/me tries a thread for the first time.....

#

Are you suggesting a change of some sort?

autumn kraken
#

just python -m build

exotic jolt
#

(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?

autumn kraken
#

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

exotic jolt
#

so they do behave differently. it sounds like the wheel could come out different under the two scenarios?

autumn kraken
#

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

tawdry sun
#

with Hatch no pesky MANIFEST.in ๐Ÿ˜‰

exotic jolt
#

Hatch, or hatchling? ๐Ÿ˜‰