Skip to content

Commit

Permalink
chore: Update package manager (from Rye to uv)
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed Sep 14, 2024
1 parent ed212b6 commit 1e50480
Show file tree
Hide file tree
Showing 3 changed files with 729 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: eifinger/setup-rye@v2
- name: 'Build website'
run: |
rye sync --no-lock
rye run make mini18n-dirhtml
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
uv run make mini18n-dirhtml
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down
11 changes: 3 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,17 @@ dependencies = [
"python-dotenv~=1.0.1",
"atsphinx-mini18n~=0.3.0",
]
license = "Apache-2.0"
license = {text = "Apache-2.0"}
readme = "README.rst"
requires-python = ">= 3.8"
requires-python = ">=3.12"

[tool.rye]
managed = true
virtual = true
[tool.uv]
dev-dependencies = [
"sphinx-autobuild>=2021.3.14",
"sphinx-intl~=2.1.0",
"pygithub~=2.3.0",
]

[tool.rye.scripts]
make = "make"

[tool.ruff.lint]
select = ["C90", "D", "E", "F", "I", "W"]

Expand Down
Loading

0 comments on commit 1e50480

Please sign in to comment.