Skip to content

Deltares/deltaforge

Repository files navigation

iMODforge

iMODforge logo

What is it?

iMODforge is a Windows installer of selected Deltares python packages and their dependencies. This makes the process of installing iMOD Python significantly easier.

Getting Started

You can download the signed installer here on oss.deltares.nl. After downloading, simply start the installer and follow the instructions.

You can start an environment with all correct paths via the iMODforge Prompt that can be found in your start menu. From here you can start your editor so that the editor can find the installed components. You can also directly call python to start an interactive python terminal.

What's included?

Deltares packages currently included are:

Important non-Deltares packages included in iMODforge are:

Why?

Experience has shown that these packages can be difficult to install for new users, because it requires:

  1. Using a shell
  2. Knowledge of conda / mamba / pixi / uv / pip.
  3. Installing a lot of dependencies, where something breaks every now and then.
  4. Installing python packages without access to conda-forge or PyPi is cumbersome. Some computational servers have no direct internet connection.

The iMODforge installer aids new users by installing a conda base environment with all the required Python packages installed. These packages are contained in the executable. The installer thus helps circumventing the four issues mentioned above.

Contributing

The tasks and dependencies for this package are handled via pixi. The imodforge environment is only used for the pixi-pack command to create the packages that are to be installed. The default environment is used to actually perform the tasks of creating an installer.

To build an installer from scratch, pixi pack needs to be run, and after that dotnet build. This can be done in one go via pixi run create-imodforge.

Other useful commands for testing are pixi run build imodforge (not packing every time), pixi run test-install imodforge and pixi run test-uninstall imodforge (create log files in the repo directory).

About

Installer for a working python environment with Deltares packages such as iMOD Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •