[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
name = "Blasta"
version = "0.3"
description = "A collaborative annotation management system for XMPP"
authors = [{name = "Schimon Zachary", email = "sch@fedora.email"}]
license = {text = "AGPL-3.0"}
classifiers = [
    "Framework :: slixmpp",
    "Intended Audience :: End Users/Desktop",
    "License :: OSI Approved :: AGPL-3.0 License",
    "Natural Language :: English",
    "Programming Language :: Python",
    "Programming Language :: Python :: 3.10",
    "Topic :: Internet :: Extensible Messaging and Presence Protocol (XMPP)",
    "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
    "Topic :: Internet :: XMPP",
    "Topic :: Office/Business :: News/Diary",
]
keywords = [
    "annotation",
    "atom",
    "bibliography",
    "bookmark",
    "collaboration",
    "gemini",
    "index",
    "jabber",
    "journal",
    "news",
    "social",
    "syndication",
    "xml",
    "xmpp",
]

dependencies = [
    "fastapi",
    "jinja2",
    "lxml",
    "python-dateutil",
    "python-multipart",
    "slixmpp",
    "tomli", # Python 3.10
    "tomli-w",
    "uvicorn",
]

[project.urls]
Homepage = "https://schapps.woodpeckersnest.eu/blasta/"
Repository = "https://git.xmpp-it.net/sch/Blasta"
Issues = "https://git.xmpp-it.net/sch/Blasta/issues"

[project.scripts]
blasta = "blasta.__main__:main"

[tool.setuptools]
platforms = ["any"]

[tool.setuptools.package-data]
"*" = ["*.atom", "*.css", "*.ico", "*.js", "*.sql", "*.svg", "*.toml", "*.xhtml", "*.xsl"]