From f2990f280fab0cf59b0f88de1bcc5e213ccb076d Mon Sep 17 00:00:00 2001 From: Aaron Spring Date: Thu, 11 Jun 2026 12:19:27 +0200 Subject: [PATCH] Fix wheel build missing subpackages by using setuptools auto-discovery Replaces the manual packages list with [tool.setuptools.packages.find] so that xskillscore.core, xskillscore.versioning, and any future subpackages are automatically included in built wheels. Fixes #423 Co-Authored-By: Claude Sonnet 4.6 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3e384bec..3c3aef2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,8 +67,8 @@ complete = [ repository = "https://github.com/xarray-contrib/xskillscore" documentation = "https://xskillscore.readthedocs.io/en/stable/" -[tool.setuptools] -packages = ["xskillscore"] +[tool.setuptools.packages.find] +where = ["."] [tool.setuptools_scm] fallback_version = "9999"