Skip to content
Snippets Groups Projects
Commit bc8fed6c authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix : package warning

parent 416453d3
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
Pipeline #50270 waiting for manual action
...@@ -2,6 +2,7 @@ include README.md LICENCE ...@@ -2,6 +2,7 @@ include README.md LICENCE
recursive-include aidge_core *.py recursive-include aidge_core *.py
recursive-exclude aidge_core/unit_tests *.py recursive-exclude aidge_core/unit_tests *.py
recursive-include aidge_core/aidge_export_aidge *
recursive-include include *.hpp recursive-include include *.hpp
recursive-include src *.cpp recursive-include src *.cpp
recursive-include python_binding *.cpp recursive-include python_binding *.cpp
......
...@@ -32,12 +32,14 @@ build-backend = "setuptools.build_meta" ...@@ -32,12 +32,14 @@ build-backend = "setuptools.build_meta"
# SETUPTOOLS # SETUPTOOLS
[tool.setuptools] [tool.setuptools]
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default) where = ["aidge_core"] # list of folders that contain the packages (["."] by default)
include = ["aidge_core*"] # package names should match these glob patterns (["*"] 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) 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 # SETUPTOOLS_SCM
[tool.setuptools_scm] [too.setuptools_scm]
write_to = "aidge_core/_version.py" write_to = "aidge_core/_version.py"
##################################################### #####################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment