-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
62 lines (55 loc) · 1.53 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
[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 = "trevor.j.manz@gmail.com" }
]
license = { text = "MIT" }
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
]
dynamic = ["version"]
urls = { homepage = "https://github.com/gosling-lang/gos" }
dependencies = [
"jsonschema>=3.0",
"jinja2",
"pandas"
]
[project.optional-dependencies]
all = [
"servir>=0.2.1",
"gosling-widget>=0.0.2",
"clodius>=0.20.1",
]
dev = [
"pytest>=6.0",
"requests>=2.0",
"sphinx>=6.0",
"numpydoc>=1.5",
"furo",
]
[tool.hatch.build]
include = ["/gosling", "/tests"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "gosling/_version.py"
[tool.hatch.envs.default]
features = ["dev", "all"]
[tool.hatch.envs.default.scripts]
test = "pytest --ignore gosling/examples --ignore tools/altair --doctest-modules gosling"
clean = "rm -rf doc/_build doc/user_guide/generated/ doc/gallery"
docs = "sphinx-build -b html doc dist"
generate-schema-wrapper = "python tools/generate_schema_wrapper.py"