smolweb/pyproject.toml
2026-09-26 13:34:12 +03:00

36 lines
1.1 KiB
TOML

[project]
name = "smolweb"
version = "0.1.0"
description = "Serve a folder of Markdown as gemtext, Spartan, WML, and XHTML-MP"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"wapdown",
"md2txt",
]
[project.scripts]
smolweb = "smolweb.cli:main"
# `uv.toml` cannot hold a `[sources]` table (uv only reads that from
# pyproject.toml), so there is no separate override file to split
# "reproducible" from "editable" -- this table is the only place it can
# live. Pin to `main` explicitly rather than floating, so a lockfile
# resolution is reproducible; bump the rev after a sibling change smolweb
# needs to pick up.
[tool.uv.sources]
wapdown = { git = "ssh://git@code.randogoth.com:2222/randogoth/wapdown.git", rev = "main" }
md2txt = { git = "ssh://git@code.randogoth.com:2222/randogoth/md2txt.git", rev = "main" }
[dependency-groups]
dev = ["pytest>=8.0"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]