From f2e1495d39e4b58ec61809a331b9aa58fefe95b3 Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Sun, 26 Mar 2023 00:13:28 +0100 Subject: [PATCH] Setup: fix broken cx_freeze import --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e693f849..e455c04b 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,8 @@ if install_cx_freeze: input(f'Requirement {requirement} is not satisfied, press enter to install it') subprocess.call([sys.executable, '-m', 'pip', 'install', requirement, '--upgrade']) import pkg_resources - import cx_Freeze + +import cx_Freeze # .build only exists if cx-Freeze is the right version, so we have to update/install that first before this line import setuptools.command.build