diff options
| author | alex <alex@pdp7.net> | 2026-02-01 21:47:23 +0100 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2026-02-01 22:03:42 +0100 |
| commit | c48ca0ca40ed9ac009d7f84ce213ef5c69536ca7 (patch) | |
| tree | 791845e06bb167794ec916fd6e2b04b6bba1234b /blog/pyproject.toml | |
| parent | f94e0a1bc1aea34cb4eadd2305ddf724722cd9b9 (diff) | |
Migrate blog
Turns into a static site generator. All Gemini files with links have
been rewritten to be relative.
Closes: #731
Closes: #372
Closes: #28
Diffstat (limited to 'blog/pyproject.toml')
| -rw-r--r-- | blog/pyproject.toml | 43 |
1 files changed, 9 insertions, 34 deletions
diff --git a/blog/pyproject.toml b/blog/pyproject.toml index 6f4e9a35..2747ec4d 100644 --- a/blog/pyproject.toml +++ b/blog/pyproject.toml @@ -2,44 +2,19 @@ name = "blog" version = "0.1.0" description = "Add your description here" -requires-python = ">=3.11" +authors = [ + { name = "alex", email = "alex@pdp7.net" } +] +requires-python = ">=3.12" dependencies = [ - "bicephalus", "feedgen>=1.0.0", "htmlgenerator>=1.2.32", - "lxml>=5.3.1", -] - -[tool.uv] -package = true - -[tool.uv.sources] -bicephalus = { git = "https://github.com/alexpdp7/bicephalus.git" } - -[dependency-groups] -dev = [ - "pytest>=8.3.5", + "lxml>=6.0.2", ] -[tool.pytest.ini_options] -addopts = "--doctest-modules" -doctest_optionflags = "NORMALIZE_WHITESPACE" +[project.scripts] +blog = "blog:main" [build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" - -[tool.hatch.build.targets.wheel.force-include] -"content" = "content" -"static" = "static" - -[tool.ruff.lint] -select = ["ALL"] -ignore = [ - "E741", # Ambiguous variable name (single letter variable) - "ANN", # Missing type annotations - "D1", # Missing docstrings - "B011", "PT015", "S101", # I am wrong in liking asserts, but I do - "COM812", # Trailing comma missing, incompatible with ruff format - "D400", "D415", "D212", "D205", "D402", # I like doctests without docstrings -] +requires = ["uv_build>=0.9.4,<0.10.0"] +build-backend = "uv_build" |
