From 3886b1e6db2291d9ab816952d4f8df915a4a31a2 Mon Sep 17 00:00:00 2001 From: interkosmos Date: Tue, 5 Sep 2017 19:29:58 +0200 Subject: [PATCH] Refactoring. --- openadmsw.pyw => openadms-gui.pyw | 0 setup.py | 2 +- win_make.bat | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename openadmsw.pyw => openadms-gui.pyw (100%) diff --git a/openadmsw.pyw b/openadms-gui.pyw similarity index 100% rename from openadmsw.pyw rename to openadms-gui.pyw diff --git a/setup.py b/setup.py index 155c862..d1e9e9e 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ executables = [ Executable('openadms.py', base=base), - Executable('openadmsw.pyw', base=base) + Executable('openadms-gui.pyw', base=base) ] setup(name='OpenADMS', diff --git a/win_make.bat b/win_make.bat index 2d93f93..c625063 100644 --- a/win_make.bat +++ b/win_make.bat @@ -3,10 +3,10 @@ echo Creating executables with Python 3.6 ... :: PyInstaller does not support Python 3.6 yet -:: "C:\Program Files\Python\Python36-64\Scripts\pyinstaller-script.py" --clean --noconfirm --icon="res\img\dabamos.ico" --hidden-import "openadms" --hidden-import "module.database" --hidden-import "module.export" --hidden-import "module.linux" --hidden-import "module.notification" --hidden-import "module.port" --hidden-import "module.processing" --hidden-import "module.prototype" --hidden-import "module.schedule" --hidden-import "module.server" --hidden-import "module.totalstation" --hidden-import "module.virtual" openadmsw.pyw +:: "C:\Program Files\Python\Python36-64\Scripts\pyinstaller-script.py" --clean --noconfirm --icon="res\img\dabamos.ico" --hidden-import "openadms" --hidden-import "module.database" --hidden-import "module.export" --hidden-import "module.linux" --hidden-import "module.notification" --hidden-import "module.port" --hidden-import "module.processing" --hidden-import "module.prototype" --hidden-import "module.schedule" --hidden-import "module.server" --hidden-import "module.totalstation" --hidden-import "module.virtual" openadms-gui.pyw :: Using cx_Freeze instead ... python setup.py build echo Done. -pause \ No newline at end of file +pause