mirror of
https://github.com/vinta/awesome-python.git
synced 2026-10-02 08:23:10 +08:00
watchdog 6.0.0 (last release 2024-11-01) ships no cp314 macOS wheel, and uv has no per-package build allowlist under no-build = true, so the preview file watcher moves to watchfiles, which ships cp314 wheels. watchfiles now lives in its own preview dependency group. UV_PYTHON=3.13 is no longer needed on machines that only have 3.14. Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
487 B
Makefile
30 lines
487 B
Makefile
-include .env
|
|
export
|
|
|
|
install:
|
|
uv sync --locked
|
|
|
|
fetch_github_stars:
|
|
uv run python website/fetch_github_stars.py
|
|
|
|
test:
|
|
uv run pytest website/tests/ -v
|
|
|
|
lint:
|
|
uv run ruff check .
|
|
|
|
format:
|
|
uv run ruff format .
|
|
|
|
typecheck:
|
|
uv run ty check website
|
|
|
|
build:
|
|
uv run python website/build.py
|
|
|
|
preview: build
|
|
uv run watchfiles \
|
|
'uv run python website/build.py' \
|
|
README.md website/templates website/static website/data & \
|
|
python -m http.server -b 127.0.0.1 -d website/output/ 8000
|