validator/ holds mewslint (lint, css, fetch, DTD/CSS data); directory/ holds the mews.page service (app, db, check, pages, cli) and depends on validator/; quickstart/ holds mews-quickstart and md2mews.py for third parties who want to create Mews content without cloning the repo; spec/ consolidates doc/ and dtd/ with the canonical mews-0.1.css; site/ becomes a Pelican project with the forward-facing pages as Markdown, the check form kept as a raw HTML snippet. Root pyproject.toml is now a virtual uv workspace over validator, directory and quickstart, with cross-cutting tests that span more than one of them staying at the repo root. Makefile and flake.nix updated to match.
31 lines
562 B
TOML
31 lines
562 B
TOML
[project]
|
|
name = "mews"
|
|
version = "0.1.0"
|
|
description = "Validate a page against the Mews Profile"
|
|
authors = [{name = "Mews Profile developers"}]
|
|
license = "Apache-2.0"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"lxml>=5.0",
|
|
"httpx>=0.27",
|
|
"publicsuffixlist>=0.10",
|
|
]
|
|
|
|
[project.scripts]
|
|
mewslint = "mews.lint:main"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.8"]
|
|
build-backend = "uv_build"
|
|
|
|
[tool.uv.build-backend]
|
|
module-root = ""
|
|
module-name = "mews"
|