summaryrefslogtreecommitdiff
path: root/info/build/windows
diff options
context:
space:
mode:
authorpravindalve2023-05-30 04:20:14 +0530
committerGitHub2023-05-30 04:20:14 +0530
commitcbdd7ca21f1f673a3a739065098f7cc6c9c4b881 (patch)
tree595e888c38f00a314e751096b6bf636a544a5efe /info/build/windows
parent7740d1ca0c2e6bf34900460b0c58fa4d528577fb (diff)
parent280c6aa89a15331fb76b7014957953dc72af6093 (diff)
downloadChemical-Simulator-GUI-master.tar.gz
Chemical-Simulator-GUI-master.tar.bz2
Chemical-Simulator-GUI-master.zip
Merge pull request #63 from brenda-br/Fix-35HEADmaster
Restructure Project and Deployment
Diffstat (limited to 'info/build/windows')
-rw-r--r--info/build/windows/build.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/info/build/windows/build.txt b/info/build/windows/build.txt
new file mode 100644
index 0000000..7066da7
--- /dev/null
+++ b/info/build/windows/build.txt
@@ -0,0 +1,23 @@
+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