An open API service indexing awesome lists of open source software.

https://github.com/huidaecho/grass-conda


https://github.com/huidaecho/grass-conda

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# GRASS Conda Packages

This repository contains conda recipes for [GRASS](https://grass.osgeo.org/)
and hosts pre-built daily development packages at
https://grass-conda.isnew.info/. For official release conda packages, visit
[here](https://anaconda.org/channels/conda-forge/packages/grass/overview).

**grass** is the latest release and **grass-dev** is a daily development
snapshot.

On Linux and macOS:
```bash
# install micromamba
curl -L https://micro.mamba.pm/install.sh | env \
BIN_FOLDER="$HOME/local/bin" \
PREFIX_LOCATION="$HOME/opt/micromamba" \
sh

# source micromamba
source ~/.bashrc

# install GRASS (c-compiler for g.extension)
micromamba create -n grass -yc https://grass-conda.isnew.info/ grass-dev c-compiler

# run GRASS
micromamba run -n grass grass
```
On Windows CMD.exe:
```cmd
rem install micromamba
mkdir %USERPROFILE%\local\bin
curl -L https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-win-64.exe -o %USERPROFILE%\local\bin\micromamba.exe

rem if %USERPROFILE%\local\bin is not in PATH
set PATH=%USERPROFILE%\local\bin;%PATH%
setx PATH %PATH%

rem set the root prefix of micromamba
set MAMBA_ROOT_PREFIX=%USERPROFILE%\opt\micromamba
setx MAMBA_ROOT_PREFIX %MAMBA_ROOT_PREFIX%

rem initialize micromamba
micromamba shell init --shell cmd.exe

rem setup conda-forge
micromamba config append channels conda-forge,nodefaults
micromamba config set channel_priority strict

rem install GRASS (c-compiler for g.extension); type micromamba, NOT micromamba.exe
micromamba create -n grass -yc https://grass-conda.isnew.info/ grass-dev c-compiler

rem run GRASS
micromamba run -n grass grass
```

## Acknowledgments

The modernization of the GRASS build system, including the transition to CMake, Windows MSVC support, and conda packaging, is supported in part by the National Science Foundation (NSF) POSE program [award 2303651](https://www.nsf.gov/awardsearch/show-award/?AWD_ID=2303651).