From d9c7006547609ad1e9927a223dac30ba261b192e Mon Sep 17 00:00:00 2001 From: brentyi Date: Fri, 8 Nov 2024 03:11:03 -0800 Subject: [PATCH] `0.2.14` --- pyproject.toml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3463796c..3f6945e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,13 +3,19 @@ requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build] +exclude = ["src/viser/client/.nodeenv", "src/viser/client/node_modules", "**/__pycache__/**"] +# Client build is in the gitignore, but we still want it in the distribution. +ignore-vcs = true + +[tool.hatch.build.targets.sdist] +only-include = ["src/viser"] + +[tool.hatch.build.targets.wheel] packages = ["src/viser"] -# .nodeenv can't be copied/moved without causing errors. -exclude = ["src/viser/client/.nodeenv", "src/viser/client/node_modules"] [project] name = "viser" -version = "0.2.13" +version = "0.2.14" description = "3D visualization + Python" readme = "README.md" license = { text="MIT" }