71 lines
No EOL
1.3 KiB
TOML
71 lines
No EOL
1.3 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[project]
|
|
name = "matrix-gptbot"
|
|
version = "0.2.0-dev"
|
|
|
|
authors = [
|
|
{ name="Kumi Mitterer", email="gptbot@kumi.email" },
|
|
]
|
|
|
|
description = "Multifunctional Chatbot for Matrix"
|
|
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[all]",
|
|
"markdown2[all]",
|
|
"tiktoken",
|
|
"python-magic",
|
|
"pillow",
|
|
]
|
|
|
|
packages = [
|
|
{ include = "gptbot", where = "src" },
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
openai = [
|
|
"openai",
|
|
]
|
|
|
|
wolframalpha = [
|
|
"wolframalpha",
|
|
]
|
|
|
|
trackingmore = [
|
|
"trackingmore @ git+https://kumig.it/kumitterer/trackingmore-api-tool.git",
|
|
]
|
|
|
|
all = [
|
|
"matrix-gptbot[openai,wolframalpha,trackingmore]",
|
|
]
|
|
|
|
dev = [
|
|
"black",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://kumig.it/kumitterer/matrix-gptbot"
|
|
"Bug Tracker" = "https://kumig.it/kumitterer/matrix-gptbot/issues"
|
|
|
|
[project.scripts]
|
|
gptbot = "gptbot.__main___:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
only-include = ["src/gptbot"]
|
|
|
|
[tool.hatch.build.targets.wheel.sources]
|
|
"src" = "" |