From 3cb8ee026017d0caddc70aad095188512b09e9df Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Sat, 11 Feb 2023 16:46:02 -0500 Subject: [PATCH 1/2] MNT: Add py.typed to module root --- nibabel/py.typed | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 nibabel/py.typed diff --git a/nibabel/py.typed b/nibabel/py.typed new file mode 100644 index 0000000000..e69de29bb2 From 08e4256607ecff5b90b59a24a04d41c46595a708 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Sat, 11 Feb 2023 16:46:39 -0500 Subject: [PATCH 2/2] MNT: Ignore nibabel-data when building sdists --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 83556a6b84..f944f8e685 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,7 +84,11 @@ typing = [ zstd = ["pyzstd >= 0.14.3"] [tool.hatch.build.targets.sdist] -exclude = [".git_archival.txt"] +exclude = [ + ".git_archival.txt", + # Submodules with large files; if we don't want them in the repo... + "nibabel-data/", +] [tool.hatch.build.targets.wheel] packages = ["nibabel", "nisext"]