diff --git a/pyproject.toml b/pyproject.toml
index 10dd4ec80b4bfaa5d45342491eedaf029675c75b..d7a89d64d596a4cdd1e2b9ab3f97fed2f8f12c6f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,10 +1,10 @@
 [build-system]
-requires = ["setuptools >= 77.0.3", "wheel", "numpy"]
+requires = ["setuptools >= 77.0.3", "setuptools-scm", "wheel", "numpy"]
 build-backend = "setuptools.build_meta"
 
 [project]
 name = 'scikit-multimodallearn'
-dynamic = ["version", "dependencies"]
+dynamic = ["version", "dependencies", ]
 requires-python = '>=3.6'
 
 license = "BSD-3-Clause"
@@ -45,14 +45,13 @@ 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"]}
 
 
+
 [tool.setuptools.packages.find]
 where = ["."]
 
diff --git a/setup.py b/setup.py
index acfebad26fd76b512b50258f5bea8f8f15f0cf86..2e638d43277ecb3128cd72b6c511c8bc285df723 100644
--- a/setup.py
+++ b/setup.py
@@ -157,11 +157,9 @@ def setup_package():
     extras_require = {
         'test': ["pytest", "pytest-cov"],
         'doc': ["sphinx==5.0", "numpydoc", "sphinx_gallery", "matplotlib", "sphinx_rtd_theme"]}
-
     # python_requires=python_requires, description=description,author=author,
     # classifiers=classifiers, keywords=keywords, install_requires=install_requires,
-    setup(
-          version=version,
+    setup(version=version,
           long_description=long_description,
           long_description_content_type=long_description_content_type,
           packages=packages,