Files
tryton/trytond/pyproject.toml
T
Cédric Krier c3af1a9ad6 Restrict protocols allowed for weasyprint to http(s)
Closes #14947
(grafted from 7c72806c98c07bb4ccb1f5f1b84954350541ec3a)

--HG--
branch : 8.0
2026-08-04 10:38:45 +02:00

97 lines
2.4 KiB
TOML

[build-system]
requires = ['hatchling >= 1', 'hatch-tryton', 'rnc2rng']
build-backend = 'hatchling.build'
[project]
name = 'trytond'
dynamic = ['version', 'authors', 'readme']
dependencies = [
'Genshi',
'backports.entry-points-selectable; python_version < "3.10"',
'defusedxml',
'lxml >= 2.0',
'polib',
'pwdlib[argon2] >= 0.2',
'python-dateutil',
'python-sql >= 1.8',
'pytz; python_version < "3.9"',
'relatorio[fodt] >= 0.7.0',
'simpleeval',
'werkzeug >= 0.12',
]
requires-python = '>=3.10'
maintainers = [
{name = "Tryton", email = "foundation@tryton.org"},
]
description = "Tryton server"
license = 'GPL-3.0-or-later'
license-files = ['LICENSE', 'COPYRIGHT']
keywords = ["tryton"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"Framework :: Tryton",
"Intended Audience :: Developers",
"Topic :: Office/Business",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
[project.optional-dependencies]
Levenshtein = ['python-Levenshtein']
PostgreSQL = ['psycopg[pool] >= 3.1']
barcode = ['python-barcode[images]']
completion = ['argcomplete']
coroutine = ['gevent >= 1.1']
email-validation = [
'email-validator >= 2',
'dnspython',
]
graphviz = ['pydot']
html2text = ['html2text']
image = ['pillow']
mjml = ['mrml; python_version < "3.14"']
qrcode = [
'qrcode[pil]',
'webcolors',
]
test = [
'html2text',
'pillow',
'pydot',
]
weasyprint = ['weasyprint >= 68.0']
[project.scripts]
trytond = 'trytond.cli:main'
trytond-admin = 'trytond.cli.admin:main'
trytond-console = 'trytond.cli.console:main'
trytond-cron = 'trytond.cli.cron:main'
trytond-stat = 'trytond.cli.stat:main'
trytond-worker = 'trytond.cli.worker:main'
[project.urls]
homepage = "https://www.tryton.org/"
documentation = "https://docs.tryton.org/server/"
changelog = "https://docs.tryton.org/server/releases.html"
forum = "https://www.tryton.org/forum"
issues = "https://bugs.tryton.org/tryton"
repository = "https://code.tryton.org/tryton"
funding = "https://www.tryton.org/donate"
[tool.hatch.version]
path = 'trytond/__init__.py'
[tool.hatch.build]
packages = ['trytond']
exclude = ['trytond/modules/*/**/*']
[tool.hatch.build.targets.wheel]
artifacts = ['*.rng']
[tool.hatch.build.hooks.custom]
[tool.hatch.metadata.hooks.tryton]
copyright = 'COPYRIGHT'
readme = 'README.rst'