Building pygridgen
and its dependencies from source should be
pretty straight-forward. Here's a bare bones guide that was last tested
on Lion.
You probably need XCode and the XCode command line stuff installed. Get XCode from the Mac App store and setup the command line tools from within XCode or from the command line itself.
http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/
$ wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh $ chmod +x miniconda.sh $ ./miniconda.sh -b -p $HOME/miniconda $ export PATH=$HOME/miniconda/bin:$PATH $ conda update conda $ conda create --name=grid python=3.6 pip nose matplotlib numpy --channel=conda-forge $ source activate grid
$ conda install pyproj --channel=conda-forge
$ mkdir gridlibs && cd gridlibs $ # C libraries $ git clone https://github.com/sakov/nn-c.git $ git clone https://github.com/sakov/csa-c.git $ git clone https://github.com/sakov/gridutils-c.git $ git clone https://github.com/sakov/gridgen-c.git $ # python library $ git clone https://github.com/pygridgen/pygridgen.git
$ cd nn $ ./configure $ make clean $ sudo make install $ cd ..
$ cd csa $ ./configure $ make clean $ sudo make install $ cd ..
$ cd gridutils $ ./configure $ make clean $ sudo make install $ cd ..
$ cd gridgen $ ./configure $ make clean $ sudo make lib $ sudo make shlib $ sudo make install $ cd ..
$ cd pygridgen $ source activate gridgen $ pip install .