From 5432388bca86c6190e56beebdb6649b82298ba8f Mon Sep 17 00:00:00 2001 From: brenda-br Date: Sat, 4 Mar 2023 12:39:33 +0530 Subject: Adding Build Info --- info/build/windows/build.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 info/build/windows/build.txt (limited to 'info/build/windows') diff --git a/info/build/windows/build.txt b/info/build/windows/build.txt new file mode 100644 index 0000000..995e441 --- /dev/null +++ b/info/build/windows/build.txt @@ -0,0 +1,2 @@ +#build command dir=>src/main/python/ +pyinstaller --onefile -windowed --icon=..\resources\base\icons\logo.ico --name="Chemical Simulator GUI" --add-data="..\..\*;." --hidden-import=csv --hidden-import=pandas --hidden-import=PyQt5.uic --hidden-import=xml.dom --hidden-import=pyqtgraph mainApp.py \ No newline at end of file -- cgit From 280c6aa89a15331fb76b7014957953dc72af6093 Mon Sep 17 00:00:00 2001 From: brenda-br Date: Mon, 13 Mar 2023 17:35:15 +0530 Subject: Update build.txt --- info/build/windows/build.txt | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'info/build/windows') diff --git a/info/build/windows/build.txt b/info/build/windows/build.txt index 995e441..7066da7 100644 --- a/info/build/windows/build.txt +++ b/info/build/windows/build.txt @@ -1,2 +1,23 @@ -#build command dir=>src/main/python/ -pyinstaller --onefile -windowed --icon=..\resources\base\icons\logo.ico --name="Chemical Simulator GUI" --add-data="..\..\*;." --hidden-import=csv --hidden-import=pandas --hidden-import=PyQt5.uic --hidden-import=xml.dom --hidden-import=pyqtgraph mainApp.py \ No newline at end of file +Steps to create .exe for Chemical Simulator GUI +1. Go to dir=> src/main/python/ +2. Run the command=> pyinstaller --onefile -windowed --icon=..\resources\base\icons\logo.ico --name="Chemical Simulator GUI" --add-data="..\..\*;." --hidden-import=csv --hidden-import=pandas --hidden-import=PyQt5.uic --hidden-import=xml.dom --hidden-import=pyqtgraph mainApp.py +3. Move the .exe in 'src/main/python/dist/' to 'src/main/python/' +4. Delete the file and folders after moving the .exe + File to delete + 1. src/main/python/Chemical Simulator GUI.spec + Folders to delete + 1. src/main/python/dist + 2. src/main/python/build +Steps to create installer for Chemical Simulator GUI +1. Go to dir=> Chemical-Simulator-GUI/ +2. Zip the contents in the folder +3. Name the zipped folder 'Chemical-Simulator-GUI' +4. Launch NSIS +5. Click on the option 'Installer based on .ZIP file' in NSIS +6. Select the zipped folder created in Step 2 and 3. +7. Options in NSIS + i) Installer Name - Chemical-Simulator-GUI + ii) Interface - Modern + iii) Default Folder - $PROGRAMFILES\Chemical-Simulator-GUI + iv) Compression - LZMA +8. Click Generate \ No newline at end of file -- cgit