From 14943354fadfe661f04d0932aa352606b5f20ea9 Mon Sep 17 00:00:00 2001 From: daid Date: Thu, 9 Apr 2015 11:02:22 +0200 Subject: [PATCH] Look for the proper location for the engine when running in py2exe. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 549df76421..60a2744cdd 100644 --- a/setup.py +++ b/setup.py @@ -55,3 +55,4 @@ for site_package in site.getsitepackages(): shutil.copytree(os.path.join(qt_origin_path, 'qml/QtQuick.2'), 'dist/qml/QtQuick.2') print('Coping PyQt5 svg library from: %s' % qt_origin_path) shutil.copy(os.path.join(qt_origin_path, 'Qt5Svg.dll'), 'dist/Qt5Svg.dll') +os.rename('dist/printer.exe', 'dist/Cura.exe')