diff --git a/README.md b/README.md index 4534313d..9624b7aa 100755 --- a/README.md +++ b/README.md @@ -27,16 +27,32 @@ To run on **Linux**, you will also need to install `tkinter` separately like so: To compile to an executable so you can run this on a system without python installed. +_Windows OS_ + To create aleapp.exe, run: ``` -pyinstaller --onefile aleapp.spec +pyinstaller \scripts\pyinstaller\aleapp.spec ``` To create aleappGUI.exe, run: ``` -pyinstaller --onefile --noconsole aleappGUI.spec +pyinstaller \scripts\pyinstaller\aleappGUI.spec +``` + +_macOS_ + +To create aleapp, run: + +``` +pyinstaller /scripts/pyinstaller/aleapp_macos.spec +``` + +To create aleappGUI.app, run: + +``` +pyinstaller /scripts/pyinstaller/aleappGUI_macos.spec ``` ## Usage diff --git a/scripts/pyinstaller/aleapp.spec b/scripts/pyinstaller/aleapp.spec index 55a8306e..79a6c916 100755 --- a/scripts/pyinstaller/aleapp.spec +++ b/scripts/pyinstaller/aleapp.spec @@ -20,7 +20,8 @@ a = Analysis(['..\\..\\aleapp.py'], 'polyline', 'simplekml', 'xlsxwriter', - 'xmltodict' + 'xmltodict', + 'zoneinfo', ], hookspath=['.\\'], runtime_hooks=[], diff --git a/scripts/pyinstaller/aleappGUI.spec b/scripts/pyinstaller/aleappGUI.spec index 24e5c4d3..05ab5f38 100755 --- a/scripts/pyinstaller/aleappGUI.spec +++ b/scripts/pyinstaller/aleappGUI.spec @@ -20,7 +20,8 @@ a = Analysis(['..\\..\\aleappGUI.py'], 'polyline', 'simplekml', 'xlsxwriter', - 'xmltodict' + 'xmltodict', + 'zoneinfo', ], hookspath=['.\\'], runtime_hooks=[], diff --git a/scripts/pyinstaller/aleappGUI_macOS.spec b/scripts/pyinstaller/aleappGUI_macOS.spec index 1d05e951..bbf4aedf 100755 --- a/scripts/pyinstaller/aleappGUI_macOS.spec +++ b/scripts/pyinstaller/aleappGUI_macOS.spec @@ -20,6 +20,7 @@ a = Analysis( 'polyline', 'xmltodict', 'xlsxwriter', + 'zoneinfo', ], hookspath=[], hooksconfig={}, diff --git a/scripts/pyinstaller/aleapp_macOS.spec b/scripts/pyinstaller/aleapp_macOS.spec index 96c72ed4..600c083b 100644 --- a/scripts/pyinstaller/aleapp_macOS.spec +++ b/scripts/pyinstaller/aleapp_macOS.spec @@ -20,6 +20,7 @@ a = Analysis( 'polyline', 'xmltodict', 'xlsxwriter', + 'zoneinfo', ], hookspath=[], hooksconfig={},