executables icon indicating copy to clipboard operation
executables copied to clipboard

Use package manager for installation

Open jentjr opened this issue 5 years ago • 5 comments

Any plans to use conda, or another packaging tool to distribute and install MODFLOW binaries? I would be willing to give this a shot to make the binaries available through conda-forge.

jentjr avatar May 15 '19 01:05 jentjr

@jentjr, how would this work? Would the installer just pull them out of this repo? Or would it actually handle the compiling as well?

langevin-usgs avatar Jul 13 '19 12:07 langevin-usgs

@langevin-usgs, my thought was to create recipes using the conda-build compiler toolchains to compile for each platform from source. I’m not sure, but it may be possible to pull them directly from this repo.

jentjr avatar Jul 14 '19 15:07 jentjr

Having looked at https://github.com/conda-forge/modflow6-feedstock for a few weeks, I can say that the conda-forge ecosystem is not that great, as it has old and unmaintained Fortran compilers. (Only Linux has modern compilers on conda-forge). Until there are better Fortran compilers, I don't think conda is a suitable platform to build and distribute Fortran-based applications for all platforms.

I'm planning to submit a PR for a simple Python script that could install executables using the Releases API, which would replace the manual "choose download", "click download", "unzip to folder" steps in a command-line fashion.

mwtoews avatar Jul 07 '22 23:07 mwtoews

@jentjr the get-modflow tool contributed by @mwtoews is included with FloPy 3.3.6 released today, there is more info here

wpbonelli avatar Dec 15 '22 16:12 wpbonelli

Great. Thank you!

jentjr avatar Dec 16 '22 19:12 jentjr