view pyproject.toml @ 1613:c4407befc52a

browser (chat): fix attachments URL for messages.
author Goffi <goffi@goffi.org>
date Mon, 17 Jun 2024 17:37:15 +0200
parents 67ff59465fe4
children 24ba9ce18375
line wrap: on
line source

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "libervia-web"
dynamic = ["version"]
description = "Web frontend for Libervia, a feature-rich XMPP client"
readme = "README.md"
license = "AGPL-3.0-or-later"
requires-python = ">=3.10"
authors = [
    { name = "Libervia Dev Team", email = "contact@goffi.org" },
]
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Environment :: Web Environment",
    "Framework :: Twisted",
    "Operating System :: POSIX :: Linux",
    "Topic :: Communications :: Chat",
]
dependencies = [
    "autobahn >= 23.6.1",
    "brython >= 3.11.3",
    "jinja2 >= 3.1.2",
    # use during dev mode to have current version of backend
    # "libervia-backend == 0.9.*",
    # "libervia-templates >0.8.0b1",
    "pyopenssl >= 23.2.0",
    "shortuuid ~= 1.0.11",
    "twisted[tls] >= 22.10",
    "zope.interface >= 5",
]
keywords = [
    "XMPP",
    "web",
    "brython",
    "chat",
    "instant_messaging",
    "blogging",
    "photo albums",
    "file sharing",
    "events"
]

[project.scripts]
libervia-web = "libervia.web.server.launcher:Launcher.run"

[project.urls]
Homepage = "https://www.libervia.org"

[tool.hatch.build.targets.wheel]
packages = ["libervia", "twisted"]

[tool.hatch.envs.default]
# we need system-package for GPG
system-packages = true

[tool.hatch.envs.dev]
dependencies = [
    "ipdb",
    "pudb",
    "pytest",
    "pytest-asyncio"
]

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.version]
path = "libervia/web/__init__.py"

[tool.hatch.build.targets.wheel.shared-data]
COPYING = "share/doc/libervia-web/COPYING"
"README.md" = "share/doc/libervia-web/README.md"