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
Because I like the simplicity of make, I made a makefile making script that reads the toml, crawls the file tree, ignores some ignore stuff and produces:
with wheelname = f"./dist/{modulename}-{version}-py3-none-any.whl"
The crawling is fine, the version is not a problem, but how to safely and correctly produce modulename is not obvious. So I thought I'd reuse the actual function that the build step uses. It's not clear to me which function that is.
I thought it was wheel._bdist_wheel.safer_name but it turns out that the build step produces a name.lower() string and safer_name doesn't, so I'm not sure where that is coming from.
None of these invoke wheel._bdist_wheel. The bdist_wheel command canonically lives in setuptools. The only reason there is still a bdist_wheel command in this project is backwards compatibility.
Activity
agronholm commentedon Nov 3, 2026
None of these invoke
wheel._bdist_wheel. Thebdist_wheelcommand canonically lives insetuptools. The only reason there is still abdist_wheelcommand in this project is backwards compatibility.