matrix-double-puppeting-bridge/pyproject.toml
Kumi 390db18623
feat: add CLI config support and script entry
Introduced command-line argument parsing to allow specifying configuration file paths, enhancing the tool's flexibility for different environments. Additionally, integrated a script entry in pyproject.toml to facilitate direct execution of the bridge, improving usability. The bridge now correctly initializes the matrix client, ensuring proper operation. These changes make deployment and configuration more straightforward, adaptable to user needs.

- Command-line arguments for custom config paths.
- Script entry for easier execution.
- Fixed matrix client initialization in the bridge.
2024-05-20 11:57:12 +02:00

31 lines
No EOL
997 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "matrix-double-puppeting-bridge"
version = "0.0.1"
authors = [
{ name="Kumi Mitterer", email="matrix-double-puppeting-bridge@kumi.email" },
]
description = "A simple demo bridge that demonstrates how to use the mautrix library to create a double-puppeting bridge."
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"mautrix",
"pyyaml",
]
[project.scripts]
"matrix-double-puppeting-bridge" = "matrix_double_puppeting_bridge.__main__:main_sync"
[project.urls]
"Homepage" = "https://git.private.coffee/kumi/matrix-double-puppeting-bridge"
"Bug Tracker" = "https://git.private.coffee/kumi/matrix-double-puppeting-bridge/issues"
"Source Code" = "https://git.private.coffee/kumi/matrix-double-puppeting-bridge"