Skip to content
Snippets Groups Projects
Commit 2b65c8be authored by AlQuemist's avatar AlQuemist
Browse files

PyDependences: require 'auditwheel' Python package only if a wheel is to be produced

Resolves #653
parent c7925c09
No related branches found
No related tags found
1 merge request!1704Require 'auditwheel' Python package only if a wheel is to be produced
Pipeline #103019 passed
......@@ -22,7 +22,7 @@ message(STATUS "Python package destination directory: ${destination_pypackage}")
# check presence of some Python modules
message(STATUS "Searching required Python packages...")
set(py_packages "pip;numpy;matplotlib")
if(LINUX)
if(LINUX AND BA_PY_PACKAGE)
# on Linux, `auditwheel` is needed to produce 'manylinux' wheels repair (PEP 599)
list(APPEND py_packages "auditwheel")
endif()
......
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