-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality
Description
We want to support uv publish --index example with:
[[index]]
name = "example"
url = "https://pypi.org/simple"
publish-url = "https://upload.pypi.org/legacy"This avoids setting the options on the CLI, moving them into configuration stored with the project instead.
It requires changing uv publish so that if --index <name> is given, we discover (and require) pyproject.toml to be present.
See also #8531 (comment)
Todo list:
- Add
publish-urloption to[[index]] - Add
--indexoption, conflicting with--publish-urland--check-url. - When using
--index, perform workspace discovery, find a matching index and use that - Update the docs
cthoyt, FauxPrada, jd-mkrn, bruckner, T-256 and 2 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality