Setup: fix broken cx_freeze import

This commit is contained in:
black-sliver 2023-03-26 00:13:28 +01:00
parent 7927b2ee25
commit f2e1495d39
1 changed files with 2 additions and 1 deletions

View File

@ -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