From 4cb9b9ad58c2d9826282bbb9fe47c43d6ca858cd Mon Sep 17 00:00:00 2001 From: William Grochocinski Date: Thu, 13 Nov 2025 18:36:13 -0500 Subject: [PATCH] switched to dynamic package inclusion --- pyproject.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6dd1b0c1..8ff51b4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,8 +2,14 @@ requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" -[tool.setuptools] -packages = ["simopt", "simopt.gui", "simopt.models", "simopt.solvers"] +[tool.setuptools.packages.find] +where = ["."] +include = ["simopt*"] +# Ignore the build directory so we don't circularly include built distributions. +exclude = ["build*"] + +[tool.setuptools.package-data] +"simopt.data_farming" = ["*.npz"] [project] name = "simoptlib"