@@ -4,58 +4,15 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " widget-optimade-client"
7- version = " 0.1.0 "
7+ version = " 0.0.1a "
88description = " A Jupyter widget for querying OPTIMADE-compatible providers"
99readme = " README.md"
1010requires-python = " >=3.8"
11- keywords = [" jupyter" , " anywidget" , " optimade" , " materials" , " science" ]
12- classifiers = [
13- " Development Status :: 4 - Beta" ,
14- " Framework :: Jupyter" ,
15- " Programming Language :: Python :: 3" ,
16- " Programming Language :: Python :: 3.8" ,
17- " Programming Language :: Python :: 3.9" ,
18- " Programming Language :: Python :: 3.10" ,
19- " Topic :: Scientific/Engineering :: Chemistry" ,
20- ]
2111dependencies = [" traitlets>=5.0" , " anywidget>=0.2" ]
2212
23- [project .urls ]
24- Home = " https://github.com/materialscloud-org/tools-optimadeclient-react"
25- Source = " https://github.com/materialscloud-org/tools-optimadeclient-react"
26-
27- [project .optional-dependencies ]
28- dev = [" jupyterlab" , " notebook" , " watchfiles" , " pytest" , " black" ]
29-
30- [tool .hatch .envs .default ]
31- features = [" dev" ]
32-
33- # Build configuration
34- [tool .hatch .build ]
35- only-packages = true
36- artifacts = [" widget-dist/*" ]
37-
38- [tool .hatch .build .hooks .jupyter-builder ]
39- build-function = " hatch_jupyter_builder.npm_builder"
40- ensured-targets = [" widget-dist/optimade_widget.js" ]
41- skip-if-exists = [" widget-dist/optimade_widget.js" ]
42- dependencies = [" hatch-jupyter-builder>=0.5.0" ]
43-
44- [tool .hatch .build .hooks .jupyter-builder .build-kwargs ]
45- npm = " npm"
46- build_cmd = " build"
47-
48- # Optional: automatic version bumping
49- [tool .bumpver ]
50- current_version = " v0.1.0"
51- version_pattern = " vMAJOR.MINOR.PATCH[PYTAGNUM]"
52- commit_message = " Bump version {old_version} -> {new_version}"
53- commit = true
54- tag = true
55- push = true
56-
57- [tool .bumpver .file_patterns ]
58- "pyproject.toml" = [
59- ' version = "{pep440_version}"' ,
60- ' current_version = "{version}"'
61- ]
13+ [tool .hatch .build .targets .wheel ]
14+ packages = [" optimadewidget" ]
15+ include = [
16+ " optimadewidget/widget-dist/*.js" ,
17+ " optimadewidget/widget-dist/*.css"
18+ ]
0 commit comments