Metadata-Version: 2.1
Name: gwlf-e
Version: 3.2.0
Summary: A Python port of Generalized Watersheds Loading Functions - Enhanced (MapShed)
Home-page: https://github.com/WikiWatershed/gwlf-e
Author: Azavea Inc.
Author-email: systems@azavea.com
License: Apache License 2.0
Keywords: gwlf-e watershed hydrology
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: certifi>=2021
Requires-Dist: funcsigs==1.0.2
Requires-Dist: llvmlite==0.38.*
Requires-Dist: pynose==1.5.*
Requires-Dist: numpy==1.21.*
Requires-Dist: numba==0.55.*
Provides-Extra: dev
Provides-Extra: test
Requires-Dist: pynose==1.5.*; extra == "test"
Requires-Dist: coverage==4.0.3; extra == "test"

# gwlf-e
Port of Generalized Watersheds Loading Functions - Enhanced (MapShed)

## Installation

Install using `pip`:

```bash
$ pip install gwlf-e
```

For Linux x64 on Python 3.8, 3.9, and 3.10 the above will pull a published wheel.
For other platforms, a wheel would have to be built.
In that case, you may also need to install `setuptools`, `wheel`, and `build` to compile it locally:

```bash
$ pip install wheel build
$ pip install --no-build-isolation gwlf-e
```

## Development

Ensure you have Python 3.10 and [pipenv](https://pipenv.pypa.io/en/latest/) available. Then run:

```bash
$ pipenv sync
```

### Running Locally

```bash
$ pipenv run ./run.py --json test/integrationtests/input_4_output.json test/integrationtests/input_4.gms
```

### Testing

```bash
$ pipenv run nosetests
```

## Deployments

Create a new release using git flow:

```console
$ git flow release start 3.0.0
$ vim CHANGELOG.md
$ vim setup.py
$ git add CHANGELOG.md setup.py
$ git commit -m "3.0.0"
$ git flow release finish -p 3.0.0
```

When the tag is pushed up, [GitHub Actions](./.github/workflows/release.yml) will publish a release to PyPI.

## License

This project is licensed under the terms of the Apache 2.0 license.
