From 6464fb4c71beedce8f47d83987d4a255f14eb0c0 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Sat, 11 Feb 2023 16:46:39 -0500 Subject: [PATCH] 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 6d44c607ed..65104ff137 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,11 @@ typing = ["mypy", "pytest", "types-setuptools", "types-Pillow", "pydicom"] 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"]