diff --git a/pyproject.toml b/pyproject.toml
index eb01770a332f289cc353c78b6cf9d979b643a7f6..10dd4ec80b4bfaa5d45342491eedaf029675c75b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -8,7 +8,7 @@ dynamic = ["version", "dependencies"]
 requires-python = '>=3.6'
 
 license = "BSD-3-Clause"
-license-files = ["LICENSE", "copyrightstamp.txt"]
+
 readme = {file = "README.rst", content-type = "text/x-rst"}
 description = 'A scikit-learn compatible package for multimodal Classifiers'
 authors = [
@@ -45,7 +45,9 @@ doc = ["sphinx==5.0", "numpydoc", "sphinx_gallery", "matplotlib", "sphinx_rtd_th
 Documentation  = "https://multi-learn.github.io/scikit-multimodallearn/"
 "Bug Tracker" = "https://github.com/multi-learn/scikit-multimodallearn/issues"
 
+[tool.setuptools]
 
+license-files = ["LICENSE", "copyrightstamp.txt"]
 
 [tool.setuptools.dynamic]
 dependencies = {file = ["requirements.txt"]}