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",
|
|
|
|
]
|
|
|
|
requires-python = ">=3.8"
|
|
|
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
|
|
|
|
|
[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"
|
|
|
|
|
|
|
|
[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__"}
|
|
|
|
dependencies = {file = ["requirements.txt"]}
|
|
|
|
|
|
|
|
[tool.setuptools.dynamic.optional-dependencies]
|
|
|
|
dev = {file = ["dev-requirements.txt"]}
|
2024-01-10 15:55:37 +00:00
|
|
|
|
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
|
|
|
|
follow_imports = "silent"
|