From d1c3ef45eae20cd2c07d3f92e5f8222bf26aa13b Mon Sep 17 00:00:00 2001 From: "Matthew W. Thompson" Date: Mon, 1 Dec 2025 08:09:19 -0600 Subject: [PATCH 1/4] Fix package data --- pyproject.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 36933cc03..4f7ad06dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,8 +23,12 @@ classifiers = [ dynamic = [ "version" ] urls = { Homepage = "https://github.com/openforcefield/openff-toolkit" } -[tool.setuptools.packages] -find = {} +[tool.setuptools.packages.find] +include = [ 'openff.toolkit*' ] +exclude = [ + 'openff.toolkit._tests*', + 'openff.toolkit.data', # unsure if these should be packaged +] [tool.ruff] line-length = 119 From 3a073451f317b4388a312beec6cbaaf2e711922f Mon Sep 17 00:00:00 2001 From: "Matthew W. Thompson" Date: Mon, 1 Dec 2025 08:10:01 -0600 Subject: [PATCH 2/4] Format --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4f7ad06dd..1525d50d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,8 +26,8 @@ urls = { Homepage = "https://github.com/openforcefield/openff-toolkit" } [tool.setuptools.packages.find] include = [ 'openff.toolkit*' ] exclude = [ - 'openff.toolkit._tests*', - 'openff.toolkit.data', # unsure if these should be packaged + 'openff.toolkit._tests*', + 'openff.toolkit.data', # unsure if these should be packaged ] [tool.ruff] From 66e06ba5ecc45650a3aaa6c9b83a8303d39fe022 Mon Sep 17 00:00:00 2001 From: "Matthew W. Thompson" Date: Tue, 2 Dec 2025 07:20:52 -0600 Subject: [PATCH 3/4] Do not exclude test modules --- pyproject.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1525d50d3..73d7fca49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,10 +25,7 @@ urls = { Homepage = "https://github.com/openforcefield/openff-toolkit" } [tool.setuptools.packages.find] include = [ 'openff.toolkit*' ] -exclude = [ - 'openff.toolkit._tests*', - 'openff.toolkit.data', # unsure if these should be packaged -] +exclude = [ 'openff.toolkit.data' ] [tool.ruff] line-length = 119 From 1bd57cddbc70283189d5ca34a80205f4c2ad47c5 Mon Sep 17 00:00:00 2001 From: "Matthew W. Thompson" Date: Fri, 12 Dec 2025 15:30:37 -0600 Subject: [PATCH 4/4] Un-exclude data directory --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 73d7fca49..0de5b02e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,6 @@ urls = { Homepage = "https://github.com/openforcefield/openff-toolkit" } [tool.setuptools.packages.find] include = [ 'openff.toolkit*' ] -exclude = [ 'openff.toolkit.data' ] [tool.ruff] line-length = 119