Skip to content

Commit b9ce2ff

Browse files
committed
fix(build): repair skill packaging checks
1 parent 762e9cd commit b9ce2ff

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ replacement = '](https://github.com/teng-lin/notebooklm-py/blob/v$HFPR_VERSION/S
8080
pattern = '\]\(LICENSE\)'
8181
replacement = '](https://github.com/teng-lin/notebooklm-py/blob/v$HFPR_VERSION/LICENSE)'
8282

83+
[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
84+
pattern = '\]\(SKILL\.md\)'
85+
replacement = '](https://github.com/teng-lin/notebooklm-py/blob/v$HFPR_VERSION/SKILL.md)'
86+
8387
[tool.hatch.build.targets.wheel]
8488
packages = ["src/notebooklm"]
8589
force-include = {"SKILL.md" = "src/notebooklm/data/SKILL.md"}

tests/integration/test_skill_packaging.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
import zipfile
66
from pathlib import Path
77

8+
import pytest
9+
10+
811
def test_wheel_includes_root_skill_content(tmp_path):
912
"""The built wheel should carry the canonical repo SKILL.md into package data."""
1013
if shutil.which("uv") is None:

0 commit comments

Comments
 (0)