From b0c37f3f0bf67d7831897c1a12412b78dc29b088 Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:00:00 -0600 Subject: [PATCH] find packages using wildcards so imports like metplotpy.plots.difficulty_index.mycolormaps will work --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 710455e6..99f497f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,8 +25,8 @@ Homepage = "https://github.com/dtcenter/METplotpy" version = {attr = "metplotpy.__version__"} dependencies = {file = ["requirements.txt"]} -[tool.setuptools] -packages = ["metplotpy"] +[tool.setuptools.packages] +find = {include = ["metplotpy*"]} [tool.pytest.ini_options] testpaths = ["test"]