From 5227b0d18c2179170842418a0a163d653d629bce Mon Sep 17 00:00:00 2001 From: insolor <2442833+insolor@users.noreply.github.com> Date: Thu, 17 Oct 2024 18:06:19 +0300 Subject: [PATCH] uv now supports poetry-like pypi index declarations --- README.md | 4 +++- pyproject.toml | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 35173d0..b3a15c4 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ uv run search path="C:/path/to/Dwarf Fortress/Dwarf Fortress.exe" ``` + ([uv](https://github.com/astral-sh/uv) >= 0.4.23) + Alternatively, you can add a yaml config in the root of the project instead of using the CLI options: `.config.yaml:` @@ -30,6 +32,6 @@ Alternatively, you can add a yaml config in the root of the project instead of u path: "C:/path/to/Dwarf Fortress/Dwarf Fortress.exe" ``` -And then run the utility just with `poetry run search`. +And then run the utility just with `poetry run search` (or `uv run search`). If `version_name` configuration is set, the offsets will be written into a ready to use toml file. diff --git a/pyproject.toml b/pyproject.toml index ca38b6f..ab29833 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,9 +33,6 @@ name = "dfint" url = "https://dfint.github.io/pypi-index/" priority = "explicit" -[tool.uv] -extra-index-url = ["https://dfint.github.io/pypi-index/"] - [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"