adding hidden-imports to pyinstaller
@@ -89,7 +89,13 @@ def pyinstall(source_folder):
conan_build_info_path = os.path.join(source_folder, "conans/build_info/command.py")
hidden = ("--hidden-import=glob --hidden-import=conan.tools.microsoft "
"--hidden-import=conan.tools.gnu --hidden-import=conan.tools.cmake "
- "--hidden-import=conan.tools.meson")
+ "--hidden-import=conan.tools.meson --hidden-import=conan.tools.apple "
+ "--hidden-import=conan.tools.build --hidden-import=conan.tools.env "
+ "--hidden-import=conan.tools.files --hidden-import=conan.tools.gnu "
+ "--hidden-import=conan.tools.google --hidden-import=conan.tools.intel "
+ "--hidden-import=conan.tools.layout --hidden-import=conan.tools.premake "
+ "--hidden-import=conan.tools.qbs")
+ hidden += " --hidden-import=distutils.dir_util"
if platform.system() != "Windows":
hidden += " --hidden-import=setuptools.msvc"
win_ver = ""
