diff --git a/pyproject.toml b/pyproject.toml
index dfc22d3..6f86535 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,7 +2,7 @@
 name = "comfyui-to-python-extension"
 description = "This custom node allows you to generate pure python code from your ComfyUI workflow with the click of a button. Great for rapid experimentation or production deployment."
 version = "1.3.0"
-license = "LICENSE"
+license = { file = "LICENSE" }
 dependencies = ["black"]
 
 [project.urls]