matrix-rssbot/pyproject.toml
Kumi 02d7441f38
refactor: streamline entry point and update version
Reorganized the script's main execution logic into a `main` function for clearer entry point definition and better maintainability. Updated the project version to 0.1.1, reflecting these changes alongside minor fixes. Adjusted the script reference in `pyproject.toml` to align with the new entry point structure, ensuring proper package execution as a console script. This refactor enhances code readability and supports more flexible future updates.
2024-05-03 15:11:25 +02:00

47 lines
No EOL
983 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[project]
name = "matrix-rssbot"
version = "0.1.1"
authors = [
{ name="Private.coffee Team", email="support@private.coffee" },
]
description = "Simple RSS feed bridge for Matrix"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.10"
packages = [
"src/matrix_rssbot"
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"matrix-nio",
"pantalaimon",
"setuptools",
"markdown2",
"feedparser",
]
[project.urls]
"Homepage" = "https://git.private.coffee/PrivateCoffee/matrix-rssbot"
"Bug Tracker" = "https://git.private.coffee/PrivateCoffee/matrix-rssbot/issues"
[project.scripts]
rssbot = "matrix_rssbot.__main__:main"
[tool.hatch.build.targets.wheel]
packages = ["src/matrix_rssbot"]