-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
78 lines (66 loc) · 1.98 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "weas_widget"
version = "0.1.17"
description = "A widget to visualize and interact with atomistic structures in Jupyter Notebook."
authors = [{name = "Xing Wang", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 1 - Planning",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering"
]
keywords = ["atomistic", "visualize", "edit"]
requires-python = ">=3.6"
dependencies = [
"anywidget>=0.9.11",
"ase",
"requests",
]
[project.urls]
Documentation = "https://weas-widget.readthedocs.io"
Source = "https://github.com/superstar54/weas-widget"
[project.optional-dependencies]
docs = [
"sphinx_rtd_theme",
"sphinx~=7.2",
"nbsphinx",
]
pre-commit = [
"pre-commit~=2.2",
"pylint~=2.17.4",
]
tests = [
"pytest~=7.0",
"pytest-cov~=2.7,<2.11",
"playwright",
"httpx",
]
dev = ["watchfiles", "jupyterlab"]
# automatically add the dev feature to the default env (e.g., hatch shell)
[tool.hatch.envs.default]
features = ["dev"]
[tool.hatch.build]
only-packages = true
artifacts = ["src/weas_widget/static/*"]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["src/weas_widget/static/widget.js"]
skip-if-exists = ["src/weas_widget/static/widget.js"]
dependencies = ["hatch-jupyter-builder>=0.5.0"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
npm = "npm"
build_cmd = "build"