From 3709042ab84b23952888043d9b11a7fd729da863 Mon Sep 17 00:00:00 2001 From: Inso <insomniak.fr@gmail.com> Date: Wed, 13 Jan 2016 07:19:31 +0100 Subject: [PATCH] Import cx_Freeze only in setup --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dca0a830..fd9ca187 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ import sys, os, subprocess, multiprocessing, site -from cx_Freeze import setup, Executable from PyQt5 import QtCore from os import listdir from os.path import isfile, join @@ -13,6 +12,7 @@ if "test" in sys.argv: sys.exit(not runner.wasSuccessful()) else: + from cx_Freeze import setup, Executable print(sys.path) print("Environnement:") print(os.environ) -- GitLab