Skip to content

Commit

Permalink
uv now supports poetry-like pypi index declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Oct 17, 2024
1 parent ad773ee commit 5227b0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:`
Expand All @@ -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.
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5227b0d

Please sign in to comment.