add conan.errors
@@ -90,7 +90,8 @@ def pyinstall(source_folder):
hidden = ("--hidden-import=glob " # core stdlib
"--hidden-import=pathlib "
"--hidden-import=distutils.dir_util "
- # The conan.tools integration
+ # Modules that can be imported in ConanFile conan.tools and errors
+ "--hidden-import=conan.errors "
"--hidden-import=conan.tools.microsoft "
"--hidden-import=conan.tools.gnu --hidden-import=conan.tools.cmake "
"--hidden-import=conan.tools.meson --hidden-import=conan.tools.apple "
