diff --git a/pyproject.toml b/pyproject.toml index b0f6442d2d71bd23cf86261b5643ed5ae2ddec33..a483e7fee71ca5ec8565c51914755f71fe2647dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,8 +61,9 @@ exclude = [ # CIBUILDWHEEL [tool.cibuildwheel] build-frontend = "build" -test-requires = "pytest" -test-command = "pytest {package}/aidge_quantization/unit_tests" +# test-requires = "pytest" +# test-command = "pytest {package}/aidge_quantization/unit_tests" +test-command = "" manylinux-x86_64-image = "quay.io/pypa/manylinux_2_28_x86_64:2024.11.16-1" # uncomment to run cibuildwheel locally on selected distros build=[ @@ -73,20 +74,7 @@ build=[ # "cp39-win_amd64", # "cp310-win_amd64", ] -# PYLINT -[tool.pylint.main] -# A comma-separated list of package or module names from where C extensions may -# be loaded. Extensions are loading into the active Python interpreter and may -# run arbitrary code. -extension-pkg-allow-list = ["aidge_core", "aidge_backend_cpu", "aidge_quantization", "onnx"] -# Files or directories to be skipped. They should be base names, not paths. -ignore = ["CVS"] -# List of module names for which member attributes should not be checked (useful -# for modules/projects where namespaces are manipulated during runtime and thus -# existing member attributes cannot be deduced by static analysis). It supports -# qualified module names, as well as Unix pattern matching. -ignored-modules = ["aidge_core", "aidge_backend_cpu", "aidge_quantization", "onnx"] -## AIDGE DEPENDENCIES DECLARATION + [tool.cibuildwheel.environment] AIDGE_DEPENDENCIES = "aidge_core aidge_backend_cpu" # format => "dep_1 dep_2 ... dep_n" AIDGE_INSTALL="/AIDGE_INSTALL_CIBUILDWHEEL" @@ -107,3 +95,18 @@ before-build = [ before-test = [ "pip install aidge_core aidge_backend_cpu aidge_onnx" ] + +# PYLINT +[tool.pylint.main] +# A comma-separated list of package or module names from where C extensions may +# be loaded. Extensions are loading into the active Python interpreter and may +# run arbitrary code. +extension-pkg-allow-list = ["aidge_core", "aidge_backend_cpu", "aidge_quantization", "onnx"] +# Files or directories to be skipped. They should be base names, not paths. +ignore = ["CVS"] +# List of module names for which member attributes should not be checked (useful +# for modules/projects where namespaces are manipulated during runtime and thus +# existing member attributes cannot be deduced by static analysis). It supports +# qualified module names, as well as Unix pattern matching. +ignored-modules = ["aidge_core", "aidge_backend_cpu", "aidge_quantization", "onnx"] +## AIDGE DEPENDENCIES DECLARATION