1
1
[build-system ]
2
- requires = [" jupyter_packaging~=0.9,<2 " ]
3
- build-backend = " jupyter_packaging.build_api "
2
+ requires = [" hatchling >=1.0 " ]
3
+ build-backend = " hatchling.build "
4
4
5
- [tool .check-manifest ]
6
- ignore = [" tbump.toml" , " .*" , " conftest.py" ]
7
-
8
- [tool .pytest .ini_options ]
9
- norecursedirs = [" confs" ]
10
- testpaths = [
11
- " notebook_shim/tests"
5
+ [project ]
6
+ name = " notebook_shim"
7
+ dynamic = [
8
+ " version" ,
9
+ ]
10
+ readme = " README.md"
11
+ license = { file = " LICENSE" }
12
+ description = " A shim layer for notebook traits and config"
13
+ authors = [{
name =
" Jupyter Development Team" ,
email =
" [email protected] " }]
14
+ keywords = [" ipython" , " jupyter" ]
15
+ classifiers = [
16
+ " Framework :: Jupyter" ,
17
+ " Intended Audience :: Developers" ,
18
+ " Intended Audience :: Science/Research" ,
19
+ " Intended Audience :: System Administrators" ,
20
+ " License :: OSI Approved :: BSD License" ,
21
+ " Programming Language :: Python" ,
22
+ " Programming Language :: Python :: 3" ,
23
+ " Programming Language :: Python :: 3 :: Only" ,
24
+ " Programming Language :: Python :: 3.7" ,
25
+ " Programming Language :: Python :: 3.8" ,
26
+ " Programming Language :: Python :: 3.9" ,
27
+ " Programming Language :: Python :: 3.10" ,
28
+ ]
29
+ requires-python = " >=3.7"
30
+ dependencies = [
31
+ " jupyter_server>=1.8,<3"
12
32
]
13
33
14
- [tool .jupyter-releaser ]
15
- skip = [" check-links" ]
34
+ [project .optional-dependencies ]
35
+ test = [
36
+ " pytest" ,
37
+ " pytest-tornasync" ,
38
+ " pytest-console-scripts" ,
39
+ ]
16
40
17
- [tool .jupyter-releaser . options ]
18
- post-version-spec = " dev "
41
+ [tool .hatch . version ]
42
+ path = " notebook_shim/_version.py "
19
43
20
44
[tool .tbump .version ]
21
45
current = " 0.2.0.dev0"
@@ -30,3 +54,35 @@ tag_template = "v{new_version}"
30
54
31
55
[[tool .tbump .file ]]
32
56
src = " notebook_shim/_version.py"
57
+ version_template = ' ({major}, {minor}, {patch}, "{channel}", "{release}")'
58
+
59
+ [[tool .tbump .file ]]
60
+ src = " notebook_shim/_version.py"
61
+ version_template = " {major}.{minor}.{patch}{channel}{release}"
62
+
63
+ [[tool .tbump .file ]]
64
+ src = " pyproject.toml"
65
+ version_template = " {major}.{minor}.{patch}{channel}{release}"
66
+
67
+ [[tool .tbump .field ]]
68
+ name = " channel"
69
+ default = " "
70
+
71
+ [[tool .tbump .field ]]
72
+ name = " release"
73
+ default = " "
74
+
75
+ [tool .check-manifest ]
76
+ ignore = [" tbump.toml" , " .*" , " conftest.py" ]
77
+
78
+ [tool .pytest .ini_options ]
79
+ norecursedirs = [" confs" ]
80
+ testpaths = [
81
+ " notebook_shim/tests"
82
+ ]
83
+
84
+ [tool .jupyter-releaser ]
85
+ skip = [" check-links" ]
86
+
87
+ [tool .jupyter-releaser .options ]
88
+ post-version-spec = " dev"
0 commit comments