mirror of
https://github.com/wsvincent/awesome-django.git
synced 2025-03-29 00:46:43 +00:00
📝 Adds better UV support
This commit is contained in:
parent
0ec2934be0
commit
e8ff92b0d2
1
.python-version
Normal file
1
.python-version
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.12
|
12
justfile
12
justfile
@ -6,17 +6,20 @@
|
|||||||
|
|
||||||
@bootstrap:
|
@bootstrap:
|
||||||
python -m pip install --upgrade pip uv
|
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:
|
@build:
|
||||||
just toc
|
just doctoc
|
||||||
bundle exec jekyll build
|
bundle exec jekyll build
|
||||||
|
|
||||||
|
@doctoc:
|
||||||
|
bunx doctoc README.md
|
||||||
|
|
||||||
@down:
|
@down:
|
||||||
docker compose down
|
docker compose down
|
||||||
|
|
||||||
@lint:
|
@lint:
|
||||||
-uv tool run curlylint _layouts/
|
-uv --quiet tool run curlylint _layouts/
|
||||||
-bunx awesome-lint README.md
|
-bunx awesome-lint README.md
|
||||||
|
|
||||||
@serve:
|
@serve:
|
||||||
@ -28,6 +31,3 @@
|
|||||||
|
|
||||||
@up *ARGS:
|
@up *ARGS:
|
||||||
docker compose up {{ ARGS }}
|
docker compose up {{ ARGS }}
|
||||||
|
|
||||||
@toc:
|
|
||||||
bunx doctoc README.md
|
|
||||||
|
13
pyproject.toml
Normal file
13
pyproject.toml
Normal 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",
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user