-
Notifications
You must be signed in to change notification settings - Fork 144
/
pyproject.toml
98 lines (81 loc) · 2.13 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
[build-system]
requires = ["hatchling==1.22.2"]
build-backend = "hatchling.build"
[project]
name = "solara-ui"
readme = "README.md"
authors = [{name = "Maarten A. Breddels", email = "[email protected]"}]
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: MIT License"]
dynamic = ["version", "description"]
packages = [
{ include = "solara" }
]
dependencies = [
"reacton>=1.7.1",
"ipywidgets>=7.7",
"ipyvuetify>=1.6.10",
"ipyvue>=1.9.0",
"requests",
"humanize",
]
[project.urls]
Home = "https://www.github.com/widgetti/solara"
Documentation = "https://solara.dev"
[tool.hatch.build.targets.wheel.shared-data]
"prefix/etc/jupyter" = "etc/jupyter"
[tool.hatch.version]
path = "solara/__init__.py"
# we ignore build/ but on the website we add solara/website/build
# when using SSG
[tool.hatch.build]
ignore-vcs = true
[tool.hatch.build.targets.wheel]
include = [
"solara",
"prefix",
"packages/solara-widget-manager/LICENSE.voila.txt",
]
exclude = ["packages"]
[tool.hatch.build.targets.sdist]
# unclear from hatch docs, but README.md and LICENSE are included by default
# even when we explicitly have an include list
include = [
"solara",
"tests",
"prefix",
"packages/solara-widget-manager/LICENSE.voila.txt",
]
# and even when we have an include list, we still need to exclude
# packages (which I think makes no sense)
exclude = ["packages"]
[project.optional-dependencies]
all = [
"solara-ui[markdown]",
"solara-ui[cache]",
"solara-ui[extra]",
]
markdown = [
"markdown",
"pymdown-extensions",
"pygments",
"pygments==2.10; python_version < '3.7'",
]
cache = [
"cachetools"
]
extra = [
"numpy",
"pillow",
]
[tool.ruff]
fix = false
line-length = 160
lint.ignore = ["E402"]
[tool.black]
line-length = 160
[tool.pytest.ini_options]
addopts = "--ignore=tests/integration/app_widget.py --ignore=tests/unit/solara_test_apps"
timeout = 180
[tool.codespell]
skip='equis-in-vidi.md,substiterat-vati.md,.*,solara/website/build,*.svg,highlight-dark.css,packages/**/dist/*,node_modules,packages/solara-assets,package*.json,tsconfig.tsbuildinfo,*.csv'