Skip to content

Commit

Permalink
build: use uv instead of pip to install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zaufi committed Jul 29, 2024
1 parent 3c058e6 commit 0df3112
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ dependencies = [
, "vulture"
, "validate-pyproject[all] >= 0.18"
]
installer = "uv"

[tool.hatch.envs.default.scripts]
# Some shortcut commands
Expand All @@ -122,13 +123,14 @@ dist = "hatch build -t wheel"
fix-spelling = "codespell -i 3 -w"

[tool.hatch.envs.doc]
verbosity = 1
template = "doc"
description = "Environment to build documentation"
dependencies = [
"sphinx"
, "sphinx_rtd_theme"
]
installer = "uv"
verbosity = 1
template = "doc"

[tool.hatch.envs.doc.scripts]
build = "sphinx-build --color -j auto doc/ build/sphinx/html/"
Expand Down

0 comments on commit 0df3112

Please sign in to comment.