relay/pyproject.toml

111 lines
2.5 KiB
TOML
Raw Normal View History

2021-10-14 19:20:53 +00:00
[build-system]
2024-04-01 19:38:29 +00:00
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
2024-01-10 15:55:37 +00:00
2024-04-01 19:38:29 +00:00
[project]
name = "ActivityRelay"
description = "Generic LitePub relay (works with all LitePub consumers and Mastodon)"
license = {text = "AGPLv3"}
classifiers = [
"Environment :: Console",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
2024-04-01 21:29:27 +00:00
dependencies = [
2024-06-15 17:10:24 +00:00
"activitypub-utils == 0.3.1",
2024-06-12 20:02:59 +00:00
"aiohttp >= 3.9.5",
2024-04-01 21:29:27 +00:00
"aiohttp-swagger[performance] == 1.0.16",
"argon2-cffi == 23.1.0",
"barkshark-lib >= 0.1.3-1",
2024-06-12 20:02:59 +00:00
"barkshark-sql == 0.1.4-1",
2024-04-01 21:29:27 +00:00
"click >= 8.1.2",
"hiredis == 2.3.2",
"idna == 3.4",
2024-04-01 21:29:27 +00:00
"jinja2-haml == 0.3.5",
2024-06-12 20:02:59 +00:00
"markdown == 3.6",
"platformdirs == 4.2.2",
2024-04-01 21:29:27 +00:00
"pyyaml >= 6.0",
2024-06-12 20:02:59 +00:00
"redis == 5.0.5",
"importlib-resources == 6.4.0; python_version < '3.9'"
2024-04-01 21:29:27 +00:00
]
2024-04-01 19:38:29 +00:00
requires-python = ">=3.8"
2024-04-01 21:29:27 +00:00
dynamic = ["version"]
2024-04-01 19:38:29 +00:00
[project.readme]
file = "README.md"
content-type = "text/markdown; charset=UTF-8"
[project.urls]
Documentation = "https://git.pleroma.social/pleroma/relay/-/blob/main/docs/index.md"
Source = "https://git.pleroma.social/pleroma/relay"
Tracker = "https://git.pleroma.social/pleroma/relay/-/issues"
[project.scripts]
activityrelay = "relay.manage:main"
2024-04-01 21:29:27 +00:00
[project.optional-dependencies]
dev = [
"flake8 == 7.0.0",
2024-06-12 20:02:59 +00:00
"mypy == 1.10.0",
"pyinstaller == 6.8.0",
"watchdog == 4.0.1",
"typing-extensions >= 4.12.2; python_version < '3.11.0'"
2024-04-01 21:29:27 +00:00
]
2024-04-01 19:38:29 +00:00
[tool.setuptools]
zip-safe = false
packages = [
"relay",
"relay.database",
"relay.views",
]
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools.package-data]
relay = [
"data/*",
"frontend/*",
"frontend/page/*",
"frontend/static/*"
]
[tool.setuptools.dynamic]
version = {attr = "relay.__version__"}
[tool.setuptools.dynamic.optional-dependencies]
dev = {file = ["dev-requirements.txt"]}
2024-01-10 15:55:37 +00:00
[tool.mypy]
show_traceback = true
install_types = true
pretty = true
disallow_untyped_decorators = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
ignore_missing_imports = true
implicit_reexport = true
2024-06-14 17:37:19 +00:00
strict = true
follow_imports = "silent"
[[tool.mypy.overrides]]
module = "relay.database"
implicit_reexport = true
[[tool.mypy.overrides]]
module = "aputils"
implicit_reexport = true
[[tool.mypy.overrides]]
module = "blib"
implicit_reexport = true
[[tool.mypy.overrides]]
module = "bsql"
implicit_reexport = true