From 8609819ddbcd51ebe321155fc6d362bb0106a13e Mon Sep 17 00:00:00 2001
From: gregkub <gregoire.kubler@proton.me>
Date: Thu, 2 May 2024 17:09:37 +0200
Subject: [PATCH] fix : various minor bugs

---
 .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh | 2 +-
 MANIFEST.in                                              | 2 --
 pyproject.toml                                           | 4 ++--
 setup.py                                                 | 2 ++
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
index d515d9a40..8d47f4d9c 100755
--- a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
+++ b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
@@ -5,7 +5,7 @@ if [[ $repo ==  "" ]]; then # case for aidge_ core
   mkdir -p build # creating build if its not already there to hold the build of cpp files
   rm -rf build/* # build from scratch
 else 
-  for repo in $AIGE_DEPENDENCIES ; do # case for other projects
+  for repo in $AIDGE_DEPENDENCIES ; do # case for other projects
     REPO_PATH=$(find /host/home/ -type d -name $repo \
                                 -not -path '*install*' \
                                 -not -path '*.git*' \
diff --git a/MANIFEST.in b/MANIFEST.in
index ffcf58d65..3e42cf915 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,5 +1,3 @@
-include project_name.txt
-
 recursive-include aidge_core *.py
 recursive-include include *.hpp
 recursive-include src *.cpp
diff --git a/pyproject.toml b/pyproject.toml
index 83ea37f46..6234dff52 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,6 @@
 [project]
 name = "aidge_core"
 description="Core implementations of the operators and graph of aidge framework"
-dynamic = ["version"] # defined in tool.setuptools_scm
 dependencies = ["numpy"]
 requires-python = ">= 3.7"
 readme = "README.md"
@@ -10,6 +9,7 @@ classifiers = [
     "Development Status :: 2 - Pre-Alpha",
     "Programming Language :: Python :: 3"
     ]
+dynamic = ["version"] # defined in tool.setuptools_scm
 
 [build-system]
 requires = ["setuptools>=68", "setuptools-scm", "cmake"]
@@ -22,7 +22,7 @@ build-frontend = "build"
 before-build = ["bash .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh ${AIDGE_DEPENDENCIES}"]
 [tool.cibuildwheel.environment]
 # aidge_core do not rely on any aidge dependency, hence this string is empty
-AIGE_DEPENDENCIES = "" # format => "dep_1 dep_2 ... dep_n"
+AIDGE_DEPENDENCIES = "" # format => "dep_1 dep_2 ... dep_n"
 
 #####################################################
 # SETUPTOOLS
diff --git a/setup.py b/setup.py
index df7a6bc2a..99bf993f6 100644
--- a/setup.py
+++ b/setup.py
@@ -69,6 +69,8 @@ class CMakeBuild(build_ext):
                 f"-DCMAKE_BUILD_TYPE={compile_type}",
                 "-DPYBIND=ON",
                 "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON",
+                "-DTEST=OFF",
+                "-DCOVERAGE=OFF"
             ]
         )
 
-- 
GitLab