diff --git a/MANIFEST.in b/MANIFEST.in index 0725e230971e826450763963940dbbccc491cf9d..ae5b7c7c2e07eef97ef72bdb79cca94f8124981b 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,6 +2,7 @@ include README.md LICENCE recursive-include aidge_core *.py recursive-exclude aidge_core/unit_tests *.py +recursive-include aidge_core/aidge_export_aidge * recursive-include include *.hpp recursive-include src *.cpp recursive-include python_binding *.cpp diff --git a/pyproject.toml b/pyproject.toml index f586017393c8022433c70aa8bce18d47a0f33b54..fac3c6dd9a423e7d16129afbd7f21bd6e8745c3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,12 +32,14 @@ build-backend = "setuptools.build_meta" # SETUPTOOLS [tool.setuptools] [tool.setuptools.packages.find] -where = ["."] # list of folders that contain the packages (["."] by default) -include = ["aidge_core*"] # package names should match these glob patterns (["*"] by default) +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) -namespaces = false # to disable scanning PEP 420 namespaces (true by default) +[tool.setuptoos.packages-data] +aidge_export_aidge = ["*.cpp", "*.hpp", "*.md", "*.cmake" , "*.jinja"] + # SETUPTOOLS_SCM -[tool.setuptools_scm] +[too.setuptools_scm] write_to = "aidge_core/_version.py" #####################################################