40 lines
1.3 KiB
TOML
40 lines
1.3 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"
|
||
|
|
|
||
|
|
# Local path sources: `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. Both origins are real (code.randogoth.com), but this checkout's
|
||
|
|
# wapdown/md2txt have unpushed local changes (the xhtmlmp renderer, the
|
||
|
|
# gemtext fixes) that a git source can't see yet, so path is what actually
|
||
|
|
# works right now. Once those are pushed, swap to:
|
||
|
|
# wapdown = { git = "ssh://git@code.randogoth.com:2222/randogoth/wapdown.git" }
|
||
|
|
# md2txt = { git = "ssh://git@code.randogoth.com:2222/randogoth/md2txt.git" }
|
||
|
|
[tool.uv.sources]
|
||
|
|
wapdown = { path = "../wapdown", editable = true }
|
||
|
|
md2txt = { path = "../md2txt", editable = true }
|
||
|
|
|
||
|
|
[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"]
|