From 8c7129ffeab82694e244a7368b652210a8e044db Mon Sep 17 00:00:00 2001 From: Emily KL <4672118+emilykl@users.noreply.github.com> Date: Thu, 30 Apr 2026 17:23:06 -0400 Subject: [PATCH] prevent creation of js package on install --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2368cc64c1..2e74718f2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -120,6 +120,10 @@ include = [ "js/install.json", # used by Jupyter extension ] +[tool.hatch.build.targets.wheel] +# Prevent js/ directory from being installed as top-level package +exclude = ["js"] + [tool.hatch.build.targets.wheel.shared-data] # Specify files from this package which will be copied to the user's system on install # This is how the jupyterlab extension gets installed