view pyproject.toml @ 1539:bc856e74f74d

server (restricted_bridge): add `url_preview_get`
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2023 10:05:16 +0200
parents de09d4d25194
children 00d04f51787e
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.7"
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"
]

[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"