Skip to content

Commit

Permalink
fix: ensure JS is included in PyPI wheel with python -m build
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Sep 19, 2023
1 parent 62e1216 commit f35dcd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ notebooks/mnt/
docs/_build/
dist/
.venv

hg/_version.py
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ fuse = [
"simple-httpfs"
]

[tool.hatch.build]
[tool.hatch.build.targets.sdist]
include = ["src"]

[tool.hatch.build.targets.wheel]
only-include = ["src"]
sources = ["src"]
only-packages = true
artifacts = ["src/higlass/widget.js"]

[tool.hatch.version]
source = "vcs"
Expand Down

0 comments on commit f35dcd6

Please sign in to comment.