aboutsummaryrefslogtreecommitdiff
path: root/blog/pyproject.toml
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-03-15 10:54:12 +0100
committeralexpdp7 <alex@corcoles.net>2025-03-15 12:26:40 +0100
commitb9c92eafc3026dd5f73f3a1b2754de0b4bb0323d (patch)
tree081066112a167935fe1db9907ba678b878e6b7a7 /blog/pyproject.toml
parente28553db86742887fbb7fe7e0fd92f1c0ec94233 (diff)
Rebuild deployment
- Use uv instead of poetry - Do not build a container image, just use live uv installing - Use src layout - Fix resource handling Fixes #362
Diffstat (limited to 'blog/pyproject.toml')
-rw-r--r--blog/pyproject.toml42
1 files changed, 25 insertions, 17 deletions
diff --git a/blog/pyproject.toml b/blog/pyproject.toml
index af8ef386..4281d729 100644
--- a/blog/pyproject.toml
+++ b/blog/pyproject.toml
@@ -1,26 +1,34 @@
-[tool.poetry]
+[project]
name = "blog"
version = "0.1.0"
-description = ""
-authors = ["alex <alex@pdp7.net>"]
-packages = [{include = "blog"}]
+description = "Add your description here"
+requires-python = ">=3.11"
+dependencies = [
+ "bicephalus",
+ "feedgen>=1.0.0",
+ "htmlgenerator>=1.2.32",
+ "lxml>=5.3.1",
+]
-[tool.poetry.dependencies]
-python = "^3.9"
-# bicephalus = { path = "../../bicephalus", develop = true }
-bicephalus = { git = "https://github.com/alexpdp7/bicephalus.git" }
-htmlgenerator = "^1.2.32"
-feedgen = "^1.0.0"
-lxml = "^5.3.1"
+[tool.uv]
+package = true
-[tool.poetry.group.dev.dependencies]
-pytest = "^8.3.5"
-ipython = "^8.15.0"
+[tool.uv.sources]
+bicephalus = { git = "https://github.com/alexpdp7/bicephalus.git" }
-[build-system]
-requires = ["poetry-core"]
-build-backend = "poetry.core.masonry.api"
+[dependency-groups]
+dev = [
+ "pytest>=8.3.5",
+]
[tool.pytest.ini_options]
addopts = "--doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE"
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build.targets.wheel.force-include]
+"content" = "content"
+"static" = "static"