2021-10-14 19:20:53 +00:00
|
|
|
[build-system]
|
2024-12-06 03:56:17 +00:00
|
|
|
requires = [
|
|
|
|
"setuptools>=61.2",
|
|
|
|
]
|
2024-04-01 19:38:29 +00:00
|
|
|
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)"
|
|
|
|
classifiers = [
|
2024-11-28 11:10:35 +00:00
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Environment :: Console",
|
|
|
|
"Framework :: aiohttp",
|
|
|
|
"Framework :: AsyncIO",
|
|
|
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
"Programming Language :: Python :: 3.12",
|
|
|
|
"Programming Language :: Python :: 3.13",
|
|
|
|
"Programming Language :: SQL",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
2024-12-06 03:56:17 +00:00
|
|
|
"Typing :: Typed",
|
2024-04-01 19:38:29 +00:00
|
|
|
]
|
2024-04-01 21:29:27 +00:00
|
|
|
dependencies = [
|
2024-08-23 05:13:55 +00:00
|
|
|
"activitypub-utils >= 0.3.2, < 0.4",
|
2024-06-12 20:02:59 +00:00
|
|
|
"aiohttp >= 3.9.5",
|
2024-04-01 21:29:27 +00:00
|
|
|
"argon2-cffi == 23.1.0",
|
2024-09-15 08:20:09 +00:00
|
|
|
"barkshark-lib >= 0.2.3, < 0.3.0",
|
2025-02-12 20:14:46 +00:00
|
|
|
"barkshark-sql >= 0.2.5, < 0.3.0",
|
2024-06-25 20:53:38 +00:00
|
|
|
"click == 8.1.2",
|
2024-10-14 00:37:37 +00:00
|
|
|
"docstring-parser == 0.16",
|
2024-11-28 10:43:39 +00:00
|
|
|
"hamlish == 0.4.0",
|
2024-04-01 21:29:27 +00:00
|
|
|
"hiredis == 2.3.2",
|
2024-06-16 12:45:14 +00:00
|
|
|
"idna == 3.4",
|
2024-06-12 20:02:59 +00:00
|
|
|
"markdown == 3.6",
|
|
|
|
"platformdirs == 4.2.2",
|
2024-07-03 04:59:59 +00:00
|
|
|
"pyyaml == 6.0.1",
|
2024-12-06 03:56:17 +00:00
|
|
|
"redis == 5.0.7",
|
2024-04-01 21:29:27 +00:00
|
|
|
]
|
2024-07-03 04:59:59 +00:00
|
|
|
requires-python = ">=3.10"
|
2024-12-06 03:56:17 +00:00
|
|
|
dynamic = [
|
|
|
|
"version",
|
|
|
|
]
|
|
|
|
|
|
|
|
[project.license]
|
|
|
|
file = "LICENSE"
|
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"
|
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
activityrelay = "relay.manage:main"
|
|
|
|
|
2024-04-01 21:29:27 +00:00
|
|
|
[project.optional-dependencies]
|
|
|
|
dev = [
|
2024-12-06 03:56:17 +00:00
|
|
|
"build == 1.2.2.post1",
|
|
|
|
"flake8 == 7.1.1",
|
|
|
|
"mypy == 1.13.0",
|
2024-08-23 03:40:39 +00:00
|
|
|
"pyinstaller == 6.10.0",
|
2025-02-12 19:52:43 +00:00
|
|
|
"typing-extensions == 4.12.2; python_version < '3.11'",
|
2024-12-06 03:56:17 +00:00
|
|
|
]
|
|
|
|
docs = [
|
|
|
|
"furo == 2024.1.29",
|
|
|
|
"sphinx == 7.2.6",
|
|
|
|
"sphinx-external-toc == 1.0.1",
|
2024-04-01 21:29:27 +00:00
|
|
|
]
|
|
|
|
|
2024-04-01 19:38:29 +00:00
|
|
|
[tool.setuptools]
|
|
|
|
zip-safe = false
|
|
|
|
include-package-data = true
|
2024-12-06 03:56:17 +00:00
|
|
|
license-files = [
|
|
|
|
"LICENSE",
|
|
|
|
]
|
2024-04-01 19:38:29 +00:00
|
|
|
|
|
|
|
[tool.setuptools.package-data]
|
|
|
|
relay = [
|
2024-11-28 11:10:35 +00:00
|
|
|
"py.typed",
|
|
|
|
"data/*",
|
|
|
|
"frontend/*",
|
|
|
|
"frontend/page/*",
|
2024-12-06 03:56:17 +00:00
|
|
|
"frontend/static/*",
|
2024-04-01 19:38:29 +00:00
|
|
|
]
|
|
|
|
|
2024-12-06 03:56:17 +00:00
|
|
|
[tool.setuptools.dynamic.version]
|
|
|
|
attr = "relay.__version__"
|
2024-04-01 19:38:29 +00:00
|
|
|
|
2025-02-12 19:48:02 +00:00
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
include = ["relay*"]
|
|
|
|
|
2024-03-13 21:43:57 +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
|
2024-06-14 17:34:05 +00:00
|
|
|
implicit_reexport = true
|
2024-06-14 17:37:19 +00:00
|
|
|
strict = true
|
2024-03-13 21:43:57 +00:00
|
|
|
follow_imports = "silent"
|