From ed2cceb8dbbd98da799d5f51aa2a7a51335b926f Mon Sep 17 00:00:00 2001 From: Francisco Ramirez de Anton Date: Thu, 16 Nov 2023 12:52:43 +0100 Subject: [PATCH 1/2] Useless distutils import --- pyinstaller.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyinstaller.py b/pyinstaller.py index 2fd3145507b..6217c1c882a 100644 --- a/pyinstaller.py +++ b/pyinstaller.py @@ -19,7 +19,6 @@ import platform import shutil import subprocess -from distutils import dir_util from conans import __version__ from conans.util.files import save From 3d02b327a56aaca194056321474670fcc9924ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Ram=C3=ADrez?= Date: Thu, 16 Nov 2023 16:00:33 +0100 Subject: [PATCH 2/2] Update pyinstaller.py --- pyinstaller.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyinstaller.py b/pyinstaller.py index 6217c1c882a..25f6d06d275 100644 --- a/pyinstaller.py +++ b/pyinstaller.py @@ -103,7 +103,6 @@ def pyinstall(source_folder): conan_path = os.path.join(source_folder, 'conans', 'conan.py') hidden = ("--hidden-import=glob " # core stdlib "--hidden-import=pathlib " - "--hidden-import=distutils.dir_util " # Modules that can be imported in ConanFile conan.tools and errors "--collect-submodules=conan.cli.commands " "--hidden-import=conan.errors "