From abc5b90727dc85e7fb5407ecc02e121155a96a83 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Thu, 8 Sep 2022 09:58:07 +0000 Subject: [PATCH] Try `artifacts` --- pyproject.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 474e2d868..c5994446d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,6 +89,7 @@ source = "code" [tool.hatch.build] artifacts = [ "voila/labextension", + "share/jupyter/voila/templates" ] [tool.hatch.build.targets.wheel.shared-data] @@ -96,10 +97,7 @@ artifacts = [ "voila/static" = "share/jupyter/nbextensions/voila" "voila/labextension" = "share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview" "install.json" = "share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/install.json" -"share/jupyter/voila/templates/base" = "share/jupyter/voila/templates/base" -"share/jupyter/voila/templates/classic" = "share/jupyter/voila/templates/classic" -"share/jupyter/voila/templates/lab" = "share/jupyter/voila/templates/lab" -"share/jupyter/voila/templates/reveal" = "share/jupyter/voila/templates/reveal" +"share/jupyter/voila/templates" = "share/jupyter/voila/templates" [tool.hatch.build.targets.sdist] exclude = [