Skip to content

Commit a613459

Browse files
authored
Use hatch backend (#846)
1 parent 9bd9bdc commit a613459

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["flit_core >=3.2,<4"]
3-
build-backend = "flit_core.buildapi"
2+
requires = ["hatchling >=0.25"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "jupyter_server"
@@ -74,6 +74,9 @@ test = [
7474
[project.scripts]
7575
jupyter-server = "jupyter_server.serverapp:main"
7676

77+
[tool.hatch.build]
78+
artifacts = ["jupyter_server/static/style/*.*"]
79+
7780
[tool.black]
7881
line_length = 100
7982

@@ -97,9 +100,6 @@ filterwarnings = [
97100
"ignore:run_pre_save_hook is deprecated:DeprecationWarning"
98101
]
99102

100-
[tool.flit.sdist]
101-
include = ["tests/"]
102-
103103
[tool.jupyter-releaser]
104104
skip = ["check-links"]
105105

0 commit comments

Comments
 (0)