From 8c5ce67439c47f3ef3b905dd942c869fb8a604c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me> Date: Fri, 5 Jul 2024 16:20:25 +0200 Subject: [PATCH] fix : setuptool_scm --- .gitignore | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b17a6be50..e69539828 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,7 @@ __pycache__ dist*/ *.egg-info wheelhouse/* -_version.py +aidge_core/_version.py # test artifact aidge_core/dummy_export/* *xmlrunner-results.xml diff --git a/pyproject.toml b/pyproject.toml index fac3c6dd9..acc7d818f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,11 +35,11 @@ build-backend = "setuptools.build_meta" where = ["aidge_core"] # list of folders that contain the packages (["."] by default) include = ["aidge_core*" , "aidge_core.aidge_export_aidge*", "aidge_core.aidge_export_aidge.utils"] # package names should match these glob patterns (["*"] by default) exclude = ["aidge_core.unit_tests*"] # exclude packages matching these glob patterns (empty by default) -[tool.setuptoos.packages-data] +[tool.setuptools.packages-data] aidge_export_aidge = ["*.cpp", "*.hpp", "*.md", "*.cmake" , "*.jinja"] # SETUPTOOLS_SCM -[too.setuptools_scm] +[tool.setuptools_scm] write_to = "aidge_core/_version.py" ##################################################### -- GitLab