Skip to content

Commit

Permalink
Include tests in sdist (#2053)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Oct 4, 2023
1 parent 25610c2 commit 6d679ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,7 @@ raw template
{%- endblock in_prompt -%}
"""


exporter_attr = AttrExporter()
output_attr, _ = exporter_attr.from_notebook_node(nb)
assert "raw template" in output_attr
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ path = "nbconvert/_version.py"
[tool.hatch.build.hooks.custom]

[tool.hatch.build.targets.sdist]
artifacts = ["share/templates"]
artifacts = ["share/templates", "tests"]

[tool.hatch.build.targets.wheel.shared-data]
"share/templates" = "share/jupyter/nbconvert/templates"
Expand Down

0 comments on commit 6d679ef

Please sign in to comment.