-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
103 lines (92 loc) · 2.08 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[project]
name = "rogue-scholar-api"
version = "0.15"
description = "API for the Rogue Scholar science blogging platform."
authors = [{ name = "Martin Fenner", email = "[email protected]" }]
requires-python = "~=3.12"
readme = "README.md"
license = "MIT"
keywords = [
"science",
"blogging",
"quart",
"api",
"supabase",
"inveniordm",
]
dependencies = [
"Quart>=0.19.2,<0.20",
"tox>=4.11.3,<5",
"hypercorn>=0.14.4,<0.15",
"supabase~=2.9",
"python-dotenv>=1.0.0,<2",
"quart-schema>=0.17.1,<0.18",
"pydash~=7.0",
"quart-rate-limiter>=0.10.0,<0.11",
"feedparser>=6.0.10,<7",
"furl>=2.1.3,<3",
"beautifulsoup4>=4.12.2,<5",
"xmltodict>=0.12.0,<0.13",
"sentry-sdk>=1.32,<3.0",
"nh3>=0.2.14,<0.3",
"langdetect>=1.0.9,<2",
"dateutils>=0.6.12,<0.7",
"lxml>=5.1.0,<6",
"pandoc~=2.4",
"commonmeta-py>=0.84,<0.100",
"python-frontmatter~=1.1",
"babel>=2.14.0,<3",
"iso8601>=2.1.0,<3",
"levenshtein>=0.24.0,<0.25",
"quart-cors>=0.7.0,<0.8",
"httpx>=0.28,<0.30",
"orjson>=3.9.14,<4",
"weasyprint~=62.3",
]
[project.urls]
Homepage = "https://rogue-scholar.org"
Repository = "https://github.com/front-matter/rogue-scholar-api"
Documentation = "https://docs.rogue-scholar.org"
[project.scripts]
start = "api:run"
[dependency-groups]
dev = [
"coverage",
"pytest~=8.3",
"pytest-cov~=4.1",
"pytest-asyncio>=0.24,<0.25",
"pytest-recording>=0.13,<0.14",
"vcrpy~=5.1",
"ruff>=0.7.0,<0.8",
]
[tool.hatch.build.targets.sdist]
include = ["api"]
[tool.hatch.build.targets.wheel]
include = ["api"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 88
select = [
"F401",
"F403",
]
[tool.tox]
legacy_tox_ini = """
[tox]
min_version = 4.0
env_list =
py312
[testenv]
passenv = *
deps =
pytest
pytest-cov
commands = pytest --cov=rogue_scholar_api --cov-report=xml
[coverage:run]
relative_files = True
branch = True
"""
[tool.pytest.ini_options]
asyncio_mode = "auto"