diff --git a/.gitignore b/.gitignore index e81691d..7fa6699 100644 --- a/.gitignore +++ b/.gitignore @@ -161,3 +161,6 @@ cython_debug/ /offsets_*.toml .config.yaml + +# Disable watching of uv.lock until full migration from poetry to uv +uv.lock diff --git a/README.md b/README.md index 57fc1a4..35173d0 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,12 @@ poetry run search path="C:/path/to/Dwarf Fortress/Dwarf Fortress.exe" ``` + or: + + ```shell + uv run search path="C:/path/to/Dwarf Fortress/Dwarf Fortress.exe" + ``` + Alternatively, you can add a yaml config in the root of the project instead of using the CLI options: `.config.yaml:` diff --git a/pyproject.toml b/pyproject.toml index e89f45e..b0ac8d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,8 @@ +[project] +name = "search-offsets" +version = "0.1.0" +requires-python = ">=3.10" + [tool.poetry] name = "search-offsets" version = "0.1.0" @@ -28,6 +33,12 @@ name = "dfint" url = "https://dfint.github.io/pypi-index/" priority = "explicit" +[tool.uv] +extra-index-url = ["https://dfint.github.io/pypi-index/"] + +[tool.uv.sources] +"peclasses" = {index = "dfint"} + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"