-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReadme - Compiler
More file actions
16 lines (9 loc) · 951 Bytes
/
Readme - Compiler
File metadata and controls
16 lines (9 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
The Windows .exe is created using Nuitka.
In PyCharm: File > Settings > External Tools, use the Nuitka settings:
C:\...\SpectraMatcher\venv_win\Scripts\python.exe
-m nuitka --assume-yes-for-downloads --standalone --follow-imports --include-data-dir=C:/Users/Giogina/SpectraMatcher/fonts=fonts --include-data-dir=C:/Users/Giogina/SpectraMatcher/resources=resources --windows-icon-from-ico=C:/Users/Giogina/SpectraMatcher/resources/SpectraMatcher.ico --enable-plugin=tk-inter --windows-disable-console --output-filename=SpectraMatcher.exe $FilePath$
Working directory: $ProjectFileDir$
To compile, right-click main.py > External Tools > Nuitka. Takes 5-10 min.
To create the installer, run wizard_creator.iss (using InnoSetup); the resulting .exe will appear in SpectraMatcher/Installer.
In Linux:
Install Docker; run build_linux.sh from the main directory. (Version number is set in this file, only affects name of output zip file)