From c659e818c341796fa53e27797cc4ed9615be8946 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9goire=20Kubler?= <gregoire.kubler@proton.me>
Date: Tue, 14 May 2024 16:11:26 +0200
Subject: [PATCH] fix : import path and manifest.in missing files

---
 CMakeLists.txt         | 2 +-
 MANIFEST.in            | 3 +++
 aidge_core/__init__.py | 4 ++--
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 94399912e..efbb6372a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@ set(CXX_STANDARD 14)
 
 ##############################################
 # Define options
-option(PYBIND "python binding" ON)
+option(PYBIND "python binding" OFF)
 option(WERROR "Warning as error" OFF)
 option(TEST "Enable tests" ON)
 option(COVERAGE "Enable coverage" OFF)
diff --git a/MANIFEST.in b/MANIFEST.in
index f0a93b6b4..0725e2309 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,5 +1,8 @@
+include README.md LICENCE
 recursive-include aidge_core *.py 
 recursive-exclude aidge_core/unit_tests *.py
 
 recursive-include include *.hpp
 recursive-include src *.cpp
+recursive-include python_binding *.cpp
+include CMakeLists.txt
diff --git a/aidge_core/__init__.py b/aidge_core/__init__.py
index 989b6e269..a89e2f6ad 100644
--- a/aidge_core/__init__.py
+++ b/aidge_core/__init__.py
@@ -7,6 +7,6 @@ http://www.eclipse.org/legal/epl-2.0.
 
 SPDX-License-Identifier: EPL-2.0
 """
-from . import * # import so generated by PyBind
+from .aidge_core import *
 from .export import ExportNode, generate_file, generate_str
-import utils
+from . import utils
-- 
GitLab