最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - `pyproject.toml` option to only build a wheel with UV - Stack Overflow

programmeradmin7浏览0评论

I build a python project with UV but do not need the source distribution. I am only interested in building the wheel.

I know I can run the uv build --wheel command to achieve that as mentioned in the docs. But I am looking for an option in pyproject.toml (possibly under [tool.uv]?) to get the same behavior so I don't have the specify the --wheel flag when building.

The expected behavior is to have uv build only building the .whl file.

发布评论

评论列表(0)

  1. 暂无评论