-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
50 lines (42 loc) · 1.16 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "gosling"
description = "Python bindings to generate Gosling visualizations"
authors = [{ name = "Trevor Manz", email = "[email protected]" }]
requires-python = ">=3.9"
license = { text = "MIT" }
readme = "README.md"
dynamic = ["version"]
urls = { homepage = "https://github.com/gosling-lang/gos" }
dependencies = ["jsonschema>=3.0", "jinja2", "pandas", "anywidget>=0.9.13"]
[project.optional-dependencies]
all = ["servir>=0.2.1", "clodius>=0.20.1"]
[dependency-groups]
dev = [
"clodius>=0.20.1",
"jupyterlab>=4.3.1",
"pytest>=6.0",
"requests>=2.0",
"servir>=0.2.1",
"setuptools>=75.2.0",
"sphinx>=6,<7",
]
[tool.hatch.build]
only-packages = true
include = ["/gosling", "/tests"]
artifacts = ["gosling/static/widget.js", "scripts/hatch_build.py"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "gosling/_version.py"
[tool.hatch.build.hooks.custom]
path = "scripts/hatch_build.py"
[tool.pytest.ini_options]
addopts = [
"--ignore=gosling/examples",
"--ignore=tools/altair",
"--ignore=scripts",
"--doctest-modules",
]