📝 Adds better UV support

This commit is contained in:
Jeff Triplett 2024-12-08 08:58:50 -06:00
parent 0ec2934be0
commit e8ff92b0d2
No known key found for this signature in database
3 changed files with 20 additions and 6 deletions

1
.python-version Normal file
View File

@ -0,0 +1 @@
3.12

View File

@ -6,17 +6,20 @@
@bootstrap:
python -m pip install --upgrade pip uv
python -m uv pip install --upgrade --requirement requirements.in
python -m uv pip install --upgrade --requirement pyproject.toml
@build:
just toc
just doctoc
bundle exec jekyll build
@doctoc:
bunx doctoc README.md
@down:
docker compose down
@lint:
-uv tool run curlylint _layouts/
-uv --quiet tool run curlylint _layouts/
-bunx awesome-lint README.md
@serve:
@ -28,6 +31,3 @@
@up *ARGS:
docker compose up {{ ARGS }}
@toc:
bunx doctoc README.md

13
pyproject.toml Normal file
View File

@ -0,0 +1,13 @@
[project]
name = "awesome-django"
version = "0.1.0"
description = "A curated list of awesome things related to Django. Maintained by [Will Vincent](https://github.com/wsvincent) and [Jeff Triplett](https://github.com/jefftriplett)."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"mkdocs",
"mkdocs-material",
"requests",
"rich",
"typer",
]