mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-30 23:37:24 +00:00
![]() Thank you for uv, it has game-changer capabilities in the field of Python package and environment maangement! ## Summary This is a small PR adding the option `module-name` (`tool.uv.build-backend.module-name`) to the uv build backend ( https://github.com/astral-sh/uv/issues/8779 ). Currently, the uv build backend will assume that the module name matches the (dash to underdash-transformed) package name. In some packaging scenarios this is not the case, and currently there exists no possibility to override it, which this PR addresses. From the main issue ( https://github.com/astral-sh/uv/issues/8779 ) I could not tell if there is any extensive roadmap or plans how to implement more complex scenarios, hence this PR as a suggestion for a small feature with a big impact for certain scenarios. I am new to Rust, I hope the borrow/reference usage is correct. ## Test Plan So far I tested this at an example, if desired I can look into extending the tests. Fixes #11428 --------- Co-authored-by: konstin <konstin@mailbox.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |