-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
71 lines (61 loc) · 1.83 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"
[project]
name = "widget-periodictable"
description = 'A jupyter widget of the periodic table of elements.'
version = "4.1.3"
dependencies = ["anywidget~=0.9.10"]
authors = [{ name = "The OSSCAR team" }]
readme = "README.md"
keywords = [
'jupyter',
'jupyterlab',
'widget',
'anywidget',
'osscar',
'mendeleev',
]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Framework :: Jupyter',
'Framework :: Jupyter :: JupyterLab',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering',
]
license = { file = 'LICENSE.txt' }
requires-python = '>=3.9'
[project.urls]
Home = 'https://www.osscar.org/'
Source = 'https://github.com/osscar-org/widget-periodictable'
[project.optional-dependencies]
dev = ["watchfiles", "jupyterlab", "bumpver>=2023"]
# 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/widget_periodictable/static/*"]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["src/widget_periodictable/static/widget.js"]
skip-if-exists = ["src/widget_periodictable/static/widget.js"]
dependencies = ["hatch-jupyter-builder>=0.5.0"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
npm = "npm"
build_cmd = "build"
[tool.bumpver]
current_version = "v4.1.3"
version_pattern = "vMAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'version = "{pep440_version}"',
'current_version = "{version}"',
]