From bba60a6333d445586bcaf5e790ea61a939e0a256 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Thu, 9 Jan 2025 09:45:37 +0000 Subject: [PATCH 1/2] Mark package as typed --- src/zimscraperlib/py.typed | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/zimscraperlib/py.typed diff --git a/src/zimscraperlib/py.typed b/src/zimscraperlib/py.typed new file mode 100644 index 00000000..e69de29b From f8ac2a81b2b05ce0e203d533c53b1d60f569224e Mon Sep 17 00:00:00 2001 From: benoit74 Date: Thu, 9 Jan 2025 09:45:51 +0000 Subject: [PATCH 2/2] Fix sdist content Using 'artifacts' instead of 'include' because we do not want to interfere with standard include rules but rather add few more items. Using 'include' causes the sdist to be mostly empty. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 003f82ba..630b5785 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,7 +107,7 @@ artifacts = [ ] [tool.hatch.build.targets.sdist] -include = [ +artifacts = [ "src/zimscraperlib/rewriting/statics/**", "src/zimscraperlib/rewriting/rules.py", "tests/rewriting/test_fuzzy_rules.py",