mirror of
https://github.com/wsvincent/awesome-django.git
synced 2024-12-18 08:10:19 +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:
|
||||
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
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…
Reference in New Issue
Block a user