diff --git a/pyproject.toml b/pyproject.toml
index 1da002b43d4ee30ea573141ff8e8b980012d48a0..9dfe32d75870d07ebed66c50130d145534913f00 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -47,8 +47,12 @@ docs = [
     "myst-parser",
 ]
 
-[tool.setuptools]
-packages = ["plotid"]
+[tool.setuptools.packages.find]
+where = ["."]
+
+[tool.setuptools.package-data]
+"plotid.resources.OpenSans" = ["*.ttf","OFL.txt"]
+
 
 [tool.setuptools.dynamic]
 version = {attr = "plotid.__version__"}