Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (77 loc) · 1.83 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (77 loc) · 1.83 KB
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
[project]
name = "flm-core"
version = "0.4.0beta000001" # ALSO BUMP IN flm/__init__.py
description = "Flexible Latex-like Markup"
authors = [ { name = "Philippe Faist" } ]
license = "MIT"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.10,<4.0"
dependencies = [
"pylatexenc>=3.0a32,<4.0",
]
[project.optional-dependencies]
maincmdl = [
"websockets>=15.0,<16.0",
"watchfiles>=1.0.4,<2.0",
"python-frontmatter>=1.0.0,<2.0",
"PyYAML>=5.0",
"colorlog>=6.7.0,<7.0",
"pillow>=12.0.0,<13.0",
"cairosvg>=2.7.1,<3.0",
"pypdf>=6.1.3,<7.0",
"jsonschema>=4.26.0,<5.0",
]
[project.scripts]
flm = 'flm.__main__:run_main'
[dependency-groups]
dev = [
"pytest>=9.0.3,<10.0",
"ipython>=8.3.0,<9.0",
"toml>=0.10.2,<0.11",
]
buildjslib = [
"Transcrypt==3.9.3",
"PyYAML>=5.0",
]
builddoc = [
"Sphinx>=5.0.0",
"sphinx-issues>=3.0.0",
"toml>=0.10.2,<0.11",
]
[tool.uv]
# 'buildjslib' and 'builddoc' are opt-in via `uv sync --group ...`
default-groups = ["dev"]
[build-system]
requires = ["uv_build>=0.9.0,<0.12.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = ""
module-name = "flm"
# The `flm/main/` folder doubles as a JS/yarn project workspace; keep its build
# scaffolding and editor backup files out of the distributions. Only the
# bundled `watch_hotreload_inject.js` is shipped from `flm/main/dist/`.
source-exclude = [
'*\~',
"__pycache__",
"flm/main/.yarn",
"flm/main/.parcel-cache",
"flm/main/.pnp.cjs",
"flm/main/.pnp.loader.mjs",
"flm/main/dist/*.css",
"flm/main/dist/*.map",
]
wheel-exclude = [
'*\~',
"__pycache__",
"main/.yarn",
"main/.parcel-cache",
"main/.pnp.cjs",
"main/.pnp.loader.mjs",
"main/dist/*.css",
"main/dist/*.map",
]
[tool.pytest.ini_options]
testpaths = [
"test",
]