Installs CAMELS software and all required packages
The relevant installer NOMAD-CAMELS_installer.exe file is located in Output
Visit the CAMELS Homepage for more information
Brief description of the workflow when the installer should be updated.
- Change python code in
/Python_code/setup_camels.py
(see here) - Create .exe file from the python code. To do this run following code in
/Python_code/
This creates thepyinstaller --onefile --nowindow setup.py
setup_camels.exe
file under/Python_code/dist/
- Change
"\run\runCamels.bat"
to change the way CAMELS is launched (see here) - Convert the bat file to an exe file (using for example Bat To Exe Converter)
- Open the
CAMELS_installer.iss
file and perform any required changes. Then compile the exe.
The final fileNOMAD-CAMELS_installer.exe
can be found under/Output/
Brief description of the possible (and most likely) changes.
If you want to perform changed regarding the NOMAD-CAMELS version that is installed or
changes to pyenv (python version) or the python environment then you have to perform
changes in the python code of the setup.py file. Here the python version is currently hard-coded as 3.9.6
. The pip install
command uses the most current version of NOMAD-CAMELS and ignores locally available versions with --no-cache-dir
.
If you want to change the way CAMELS is startet you must modify the installation.exe file by modifying the InnoSetup file .iss
. Here you can alter the shortcuts under [Icons]
.
The shortcuts simply execute the NOMAD-CAMELS.exe which is a simple exe convertion of the batch file runCamels.bat
. This simply reads the NOMAD-CAMELS.ini
and reads the paths to the exe and the installation path from it. You can change these two paths manually to change the python environment that should start CAMELS.
For this you must modify the .iss
file.
The installer creates the folder %localappdata%\nomad_camels\Presets\Backup
where all the settings presets (user info, sample info, used devices, etc.) are saved. Change the entry under [Dirs]
to change the location of this folder.