From 8933530ddcff771f6e566f089122286fb69cf1ba Mon Sep 17 00:00:00 2001 From: martinRenou Date: Fri, 13 Sep 2024 11:46:26 +0100 Subject: [PATCH] Exclude node_modules from sdists (#415) --- python/jupytercad_core/pyproject.toml | 2 +- python/jupytercad_lab/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/jupytercad_core/pyproject.toml b/python/jupytercad_core/pyproject.toml index 6bb357f6..a6d4d3f2 100644 --- a/python/jupytercad_core/pyproject.toml +++ b/python/jupytercad_core/pyproject.toml @@ -42,7 +42,7 @@ fields = ["description", "authors", "urls"] [tool.hatch.build.targets.sdist] artifacts = ["jupytercad_core/labextension"] -exclude = [".github", "binder"] +exclude = [".github", "binder", "node_modules"] [tool.hatch.build.targets.wheel.shared-data] "install.json" = "share/jupyter/labextensions/@jupytercad/jupytercad-core/install.json" diff --git a/python/jupytercad_lab/pyproject.toml b/python/jupytercad_lab/pyproject.toml index efeaa05a..46a149bd 100644 --- a/python/jupytercad_lab/pyproject.toml +++ b/python/jupytercad_lab/pyproject.toml @@ -47,7 +47,7 @@ fields = ["description", "authors", "urls"] [tool.hatch.build.targets.sdist] artifacts = ["jupytercad_lab/labextension", "/jupytercad_lab/notebook/objects/_schema/*.py"] -exclude = [".github", "binder"] +exclude = [".github", "binder", "node_modules"] [tool.hatch.build.targets.wheel] artifacts = ["/jupytercad_lab/notebook/objects/_schema/*.py"]