-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
71 lines (63 loc) · 1.48 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "cosmograph/__about__.py"
[project]
name = "cosmograph"
description = "Visualize large-scale network graphs and machine learning embeddings"
readme = "README.md"
license = "GPL-3.0-or-later"
keywords = ["Graph", "Embedding", "Network", "Visualization", "Machine Learning"]
dependencies = [
"anywidget",
"pyarrow",
"pandas",
"numpy",
"traitlets",
"i2>=0.1.45",
"dol>=0.3.7",
"tabled>=0.1.17",
"ju>=0.1.16",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = ["watchfiles", "jupyterlab"]
test = ["linked"]
dev_utils = [
"lxml",
"IPython",
"hubcap",
"i2",
"ju",
"jy",
"lkj",
"matplotlib",
"oa",
"pydantic",
"pytest",
"requests",
"tabled",
]
# automatically add the dev feature to the default env (e.g., hatch shell)
[tool.hatch.envs.default]
features = ["dev"]
python = "3.10"
dependencies = [
"pandas",
]
[tool.hatch.envs.test]
dependencies = [
"pytest",
]
[tool.hatch.build]
only-packages = true
artifacts = ["cosmograph/widget/static/*", "cosmograph/data/*"]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["cosmograph/widget/static/meta.json"]
skip-if-exists = ["cosmograph/widget/static/meta.json"]
dependencies = ["hatch-jupyter-builder>=0.5.0"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
npm = "npm"
build_cmd = "build"