Skip to content

Installing ngen config

Austin Raney edited this page Oct 20, 2023 · 1 revision

Installing ngen.config

The following directions assume a minimal python 3.7 version.

From Source

git clone https://github.com/NOAA-OWP/ngen-cal && cd ngen-cal

# create python virtual environment
python -m venv venv
source ./venv/bin/activate

pip install python/ngen_conf

Install From GitHub

# create python virtual environment
python -m venv venv
source ./venv/bin/activate

pip install "git+https://github.com/noaa-owp/ngen-cal@master#egg=ngen-config&subdirectory=python/ngen_conf"

As a python dependency in another project

Add the following to a requirements.txt file:

git+https://github.com/noaa-owp/ngen-cal@master#egg=ngen-config&subdirectory=python/ngen_conf

Add the following to a setup.cfg file:

install_requires =
    ngen_config @ git+https://github.com/noaa-owp/ngen-cal@master#egg=ngen_config&subdirectory=python/ngen_conf
Clone this wiki locally