Skip to content

Commit

Permalink
Avoid long install times when installing from source (cc #271)
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Aug 23, 2024
1 parent 3d30259 commit cf4a794
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ examples = [
viser = ["py.typed", "*.pyi", "_icons/tabler-icons.tar", "client/**/*", "client/**/.*"]
# </>

[tool.setuptools.exclude-package-data]
# We exclude node_modules to prevent long build times for wheels when
# installing from source, eg via `pip install .`.
#
# https://github.com/nerfstudio-project/viser/issues/271
viser = ["**/node_modules/**"]

[project.scripts]
viser-dev-checks = "viser.scripts.dev_checks:entrypoint"

Expand Down

0 comments on commit cf4a794

Please sign in to comment.