37 lines
920 B
TOML
37 lines
920 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "forgejo-blog-manager"
|
|
version = "0.1.0"
|
|
description = "Python-basierter Blog-Manager mit Flask-Interface und Pelican SSG"
|
|
authors = [
|
|
{name = "Ihre Autorin", email = "autorin@example.com"}
|
|
]
|
|
license = {text = "MIT"}
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
|
|
# Kern-Abhängigkeiten
|
|
dependencies = [
|
|
"Flask",
|
|
"GitPython",
|
|
"Pelican",
|
|
"Markdown",
|
|
"Werkzeug" # Wird oft von Flask benötigt, um Datei-Uploads zu handhaben
|
|
]
|
|
|
|
# Konfiguriert den Kommandozeilen-Einstiegspunkt (z.B. 'blog-cli start')
|
|
[project.scripts]
|
|
blog-cli = "dlw.commands:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "src"}
|
|
packages = ["dlw"]
|
|
|
|
# Stellt sicher, dass alle notwendigen Konfigurationsdateien mitinstalliert werden
|
|
[tool.setuptools.package-data]
|
|
"dlw" = ["ssg_config/*", "ssg_config/templates/*"]
|
|
|