diff --git a/pyproject.toml b/pyproject.toml
index 9fcd7ac1b024165714ea4f4dade69168f816f104..48259bfac8d958df9c1df4929b490c0b44177dc1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -12,8 +12,7 @@ classifiers = [
     "Development Status :: 2 - Pre-Alpha",
     "Programming Language :: Python :: 3"
     ]
-# dynamic = ["version"] # defined in tool.setuptools_scm
-version="1"
+dynamic = ["version"] # defined in tool.setuptools_scm
 
 [build-system]
 requires = [
@@ -33,8 +32,8 @@ include = ["aidge_core*"]  # package names should match these glob patterns (["*
 exclude = ["aidge_core.unit_tests*"]  # exclude packages matching these glob patterns (empty by default)
 namespaces = false  # to disable scanning PEP 420 namespaces (true by default)
 # SETUPTOOLS_SCM
-# [tool.setuptools_scm]
-# write_to = "aidge_core/_version.py"
+[tool.setuptools_scm]
+write_to = "aidge_core/_version.py"
 
 #####################################################
 # CIBUILDWHEEL