1
0
python-mkdocs-material/no-hatchling-requirements_txt.patch

53 lines
1.2 KiB
Diff

From 09647236257c0c6f9f645c7cd136f75403b24b82 Mon Sep 17 00:00:00 2001
From: Johannes Kastl <kastl@b1-systems.de>
Date: Tue, 12 Sep 2023 07:40:26 +0200
Subject: [PATCH] pyproject.toml: remove requirement for hatchling
Created my Matej Cepl!
---
pyproject.toml | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 99a8691ee..b861b4e90 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -30,12 +30,23 @@ build-backend = "hatchling.build"
name = "mkdocs-material"
dynamic = [
"version",
- "dependencies",
"license",
"description",
"authors",
"keywords"
]
+dependencies = [
+ "jinja2>=3.0",
+ "markdown>=3.2",
+ "mkdocs>=1.4.2",
+ "mkdocs-material-extensions>=1.1",
+ "pygments>=2.14",
+ "pymdown-extensions>=9.9.1",
+ "colorama>=0.4",
+ "regex>=2022.4.24",
+ "requests>=2.26"
+]
+
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
@@ -74,9 +85,6 @@ source = "nodejs"
[tool.hatch.metadata.hooks.nodejs]
fields = ["license", "description", "authors", "keywords", "urls"]
-[tool.hatch.metadata.hooks.requirements_txt]
-filename = "requirements.txt"
-
[tool.hatch.build.targets.wheel]
include = ["/material"]
--
2.42.0