2023-10-13 23:50:14 +02:00
|
|
|
[build-system]
|
2023-12-10 12:45:23 +01:00
|
|
|
requires = ["setuptools>=61"]
|
2023-10-13 23:50:14 +02:00
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
[project]
|
2023-10-15 17:45:35 +02:00
|
|
|
name = "chatmaild"
|
2023-12-08 18:29:05 +01:00
|
|
|
version = "0.2"
|
2023-10-13 23:50:14 +02:00
|
|
|
dependencies = [
|
2023-12-01 22:11:17 +01:00
|
|
|
"aiosmtpd",
|
2023-12-08 18:29:05 +01:00
|
|
|
"iniconfig",
|
2024-01-24 04:53:07 +01:00
|
|
|
"deltachat-rpc-server",
|
2023-12-13 16:02:56 +01:00
|
|
|
"deltachat-rpc-client",
|
2024-03-27 17:39:02 +01:00
|
|
|
"filelock",
|
2024-01-25 00:14:05 +01:00
|
|
|
"requests",
|
2023-10-13 23:50:14 +02:00
|
|
|
]
|
|
|
|
|
2023-12-09 17:54:56 +01:00
|
|
|
[tool.setuptools]
|
|
|
|
include-package-data = true
|
|
|
|
|
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
where = ['src']
|
|
|
|
|
2023-10-13 23:50:14 +02:00
|
|
|
[project.scripts]
|
2023-11-14 20:38:15 +01:00
|
|
|
doveauth = "chatmaild.doveauth:main"
|
2024-01-25 00:14:05 +01:00
|
|
|
chatmail-metadata = "chatmaild.metadata:main"
|
2023-10-15 18:04:38 +02:00
|
|
|
filtermail = "chatmaild.filtermail:main"
|
2023-12-13 16:02:56 +01:00
|
|
|
echobot = "chatmaild.echo:main"
|
2023-12-14 19:10:58 +01:00
|
|
|
chatmail-metrics = "chatmaild.metrics:main"
|
2023-10-13 23:50:14 +02:00
|
|
|
|
2023-12-11 13:04:11 +01:00
|
|
|
[project.entry-points.pytest11]
|
|
|
|
"chatmaild.testplugin" = "chatmaild.tests.plugin"
|
|
|
|
|
2023-10-13 23:50:14 +02:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
addopts = "-v -ra --strict-markers"
|
2023-11-20 15:48:38 +01:00
|
|
|
log_format = "%(asctime)s %(levelname)s %(message)s"
|
|
|
|
log_date_format = "%Y-%m-%d %H:%M:%S"
|
|
|
|
log_level = "INFO"
|
2023-10-13 23:50:14 +02:00
|
|
|
|
|
|
|
[tool.tox]
|
|
|
|
legacy_tox_ini = """
|
|
|
|
[tox]
|
|
|
|
isolated_build = true
|
2023-10-21 12:10:13 +02:00
|
|
|
envlist = lint,py
|
2023-10-13 23:50:14 +02:00
|
|
|
|
|
|
|
[testenv:lint]
|
|
|
|
skipdist = True
|
|
|
|
skip_install = True
|
|
|
|
deps =
|
|
|
|
ruff
|
|
|
|
black
|
|
|
|
commands =
|
|
|
|
black --quiet --check --diff src/
|
|
|
|
ruff src/
|
2023-10-21 12:10:13 +02:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps = pytest
|
|
|
|
pdbpp
|
2023-12-11 13:04:11 +01:00
|
|
|
commands = pytest -v -rsXx {posargs}
|
2023-10-13 23:50:14 +02:00
|
|
|
"""
|