-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (42 loc) · 1.46 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
[project]
name = "homepage"
authors = [{name = "ftsell", email = "[email protected]"}]
dynamic = ["description"]
version = "2.6.0"
license = { file = "LICENSE" }
dependencies = [
"fastapi~=0.110", # python web framework
"jinja2~=3.1", # templating engine
"hypercorn~=0.16", # http server
"colorama~=0.4", # colored log output
"markdown~=3.6", # markdown parser for blog rendering
"python-frontmatter~=1.1", # frontmatter parser for blog entry metadata
"pygments~=2.18", # syntax highlighter for blog code blocks
"aiohttp[speedups]~=3.10", # http client (used for webmention stuff)
"sqlmodel~=0.0.22", # sqlite database for state management
"beautifulsoup4~=4.12", # html parser for tests and webmention
]
[project.optional-dependencies]
dev = [
"ipython", # better python repl
"pytest", # test framework
"httpx", # http test client
"pytest-asyncio", # support for async test functions
]
[project.urls]
Home = "https://github.com/ftsell/homepage"
Source = "https://github.com/ftsell/homepage"
[project.scripts]
homepage = "homepage.cli:main"
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.ruff]
src = ["src"]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "B", "SIM", "I"]
[tool.pytest.ini_options]
pythonpath = "src"
log_cli = true
norecursedirs = "*.egg .* dist"