add docs dependencies

This commit is contained in:
Izalia Mae 2024-12-05 22:56:17 -05:00
parent f41b24406f
commit e47e69b14d

View file

@ -1,11 +1,12 @@
[build-system] [build-system]
requires = ["setuptools>=61.2"] requires = [
"setuptools>=61.2",
]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
name = "ActivityRelay" name = "ActivityRelay"
description = "Generic LitePub relay (works with all LitePub consumers and Mastodon)" description = "Generic LitePub relay (works with all LitePub consumers and Mastodon)"
license = {file = "LICENSE"}
classifiers = [ classifiers = [
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
"Environment :: Console", "Environment :: Console",
@ -19,7 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.13",
"Programming Language :: SQL", "Programming Language :: SQL",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers", "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Typing :: Typed" "Typing :: Typed",
] ]
dependencies = [ dependencies = [
"activitypub-utils >= 0.3.2, < 0.4", "activitypub-utils >= 0.3.2, < 0.4",
@ -35,10 +36,15 @@ dependencies = [
"markdown == 3.6", "markdown == 3.6",
"platformdirs == 4.2.2", "platformdirs == 4.2.2",
"pyyaml == 6.0.1", "pyyaml == 6.0.1",
"redis == 5.0.7" "redis == 5.0.7",
] ]
requires-python = ">=3.10" requires-python = ">=3.10"
dynamic = ["version"] dynamic = [
"version",
]
[project.license]
file = "LICENSE"
[project.readme] [project.readme]
file = "README.md" file = "README.md"
@ -53,10 +59,15 @@ activityrelay = "relay.manage:main"
[project.optional-dependencies] [project.optional-dependencies]
dev = [ dev = [
"flake8 == 7.1.0", "build == 1.2.2.post1",
"mypy == 1.11.1", "flake8 == 7.1.1",
"mypy == 1.13.0",
"pyinstaller == 6.10.0", "pyinstaller == 6.10.0",
"watchdog == 4.0.2" ]
docs = [
"furo == 2024.1.29",
"sphinx == 7.2.6",
"sphinx-external-toc == 1.0.1",
] ]
[tool.setuptools] [tool.setuptools]
@ -67,7 +78,9 @@ packages = [
"relay.views", "relay.views",
] ]
include-package-data = true include-package-data = true
license-files = ["LICENSE"] license-files = [
"LICENSE",
]
[tool.setuptools.package-data] [tool.setuptools.package-data]
relay = [ relay = [
@ -75,11 +88,11 @@ relay = [
"data/*", "data/*",
"frontend/*", "frontend/*",
"frontend/page/*", "frontend/page/*",
"frontend/static/*" "frontend/static/*",
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic.version]
version = {attr = "relay.__version__"} attr = "relay.__version__"
[tool.mypy] [tool.mypy]
show_traceback = true show_traceback = true