diff --git a/CMakeLists.txt b/CMakeLists.txt index 94399912eef06b7757bde9f55f2c35b4dd8cece7..efbb6372a31ea7e610e13978ce1cb84d5084acc9 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 f0a93b6b4005bd25816a3a10d08967fb4ace9765..0725e230971e826450763963940dbbccc491cf9d 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 989b6e2698108393f514289fdfbca77cca101a88..a89e2f6adb0bf56df5182783c388196679d1ad42 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