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"