hydromt icon indicating copy to clipboard operation
hydromt copied to clipboard

Developper install with make is not possible anymore

Open hboisgon opened this issue 10 months ago • 1 comments

HydroMT version checks

  • [X] I have checked that the issue still exists on the latest versions of the docs on main here

Kind of issue

Docs are wrong

Location of the documentation

https://deltares.github.io/hydromt/stable/dev/dev_install.html

Both the step-by-step and fine tuned paragraph.

Documentation problem

This option is not possible anymore (why by the way? now I need to install choco or pixi just to create an environment file...) Also the installation command for chocolatey looks strange and bypasses admin rights and pixi also install the environment directly and not just creates the environment file in case you would like to edit.

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Also the pixi link is not up to date: https://prefix.dev/docs/pixi/overview should now be https://pixi.sh/latest/

Suggested fix for documentation

Update the docs Else we can also suggest using pip? Looks much easier to me and does not require installing additional tools.

conda create -n hydromt-dev -c conda-forge pip
pip install "hydromt[dev]"
pip install -e .

hboisgon avatar Apr 17 '24 03:04 hboisgon

Should be done on main before the next release

hboisgon avatar Apr 17 '24 03:04 hboisgon