22 lines
739 B
TOML
22 lines
739 B
TOML
[build-system]
|
|||
|
|
requires = ["setuptools>=68"]
|
||
|
|
build-backend = "setuptools.build_meta"
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "webmail-plugin-antispam"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "Anti-spam — the third heavy plugin (SPEC Appendix C). Second-pass classification via Rspamd, allow/deny lists, per-user Bayes."
|
||
|
|
requires-python = ">=3.11"
|
||
|
|
# The engine is a container, not a library: the plugin is glue + policy (§C.2).
|
||
|
|
# httpx is already a core dependency, used here to reach the Rspamd container.
|
||
|
|
dependencies = []
|
||
|
|
|
||
|
|
[project.entry-points."webmail.plugins"]
|
||
|
|
antispam = "webmail_plugin_antispam:plugin"
|
||
|
|
|
||
|
|
[tool.setuptools]
|
||
|
|
packages = ["webmail_plugin_antispam"]
|
||
|
|
|
||
|
|
[tool.setuptools.package-data]
|
||
|
|
webmail_plugin_antispam = ["ui/*.js", "migrations/versions/*.py"]
|