@@ -22,28 +22,32 @@ classifiers = [
2222 " License :: OSI Approved :: BSD License" ,
2323 " Programming Language :: Python" ,
2424 " Programming Language :: Python :: 3" ,
25- " Programming Language :: Python :: 3.13" ,
2625 " Programming Language :: Python :: 3.8" ,
2726 " Programming Language :: Python :: 3.9" ,
2827 " Programming Language :: Python :: 3.10" ,
2928 " Programming Language :: Python :: 3.11" ,
3029 " Programming Language :: Python :: 3.12" ,
30+ " Programming Language :: Python :: 3.13" ,
3131]
3232dependencies = [
3333 " jupyter-server>=2" ,
3434]
35- version = " 0.3.3.dev0"
35+
36+ dynamic = [" version" ]
3637
3738[project .license ]
3839file = " LICENSE"
3940
4041[project .urls ]
4142Homepage = " https://github.com/manics/jupyter-offlinenotebook"
4243
44+ [tool .hatch .version ]
45+ path = " package.json"
46+ pattern = " ^\\ s*\" version\" :\\ s*\" (?P<version>.+?)\" "
47+
4348[tool .hatch .build .targets .wheel .shared-data ]
4449"jupyter_offlinenotebook/etc/offlinenotebook_jpserverextension.json" = " etc/jupyter/jupyter_server_config.d/offlinenotebook_jpserverextension.json"
45- "jupyter_offlinenotebook/static/lab/*.*" = " share/jupyter/labextensions/jupyter-offlinenotebook/*.*"
46- "jupyter_offlinenotebook/static/lab/static/*.*" = " share/jupyter/labextensions/jupyter-offlinenotebook/static/*.*"
50+ "jupyter_offlinenotebook/static/lab/" = " share/jupyter/labextensions/jupyter-offlinenotebook/"
4751
4852[tool .hatch .build .targets .sdist ]
4953exclude = [
@@ -67,21 +71,3 @@ npm = [
6771]
6872
6973[tool .setuptools_scm ]
70-
71- [tool .tbump ]
72- field = [
73- { name = " channel" , default = " " },
74- { name = " release" , default = " " },
75- ]
76-
77- [tool .tbump .version ]
78- current = " 0.3.3.dev0"
79- regex = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)((?P<channel>a|b|rc|.dev)(?P<release>\\ d+))?"
80-
81- [tool .tbump .git ]
82- message_template = " Bump to {new_version}"
83- tag_template = " v{new_version}"
84-
85- [[tool .tbump .file ]]
86- src = " pyproject.toml"
87- version_template = " version = \" {major}.{minor}.{patch}{channel}{release}\" "
0 commit comments