Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add recipe to build pywatershed package #23428

Merged
merged 5 commits into from
Jul 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
59 changes: 59 additions & 0 deletions recipes/pywatershed/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{% set name = "pywatershed" %}
{% set version = "0.2.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pywatershed-{{ version }}.tar.gz
sha256: d117a72ae646319427fa81830c5d1b8faf3f2669bdec905da86fe3c91e1bd65c

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python >=3.9,<3.11
- setuptools >=61
- numpy
- pip
run:
- python >=3.9,<3.11
- numpy >=1.15.0
- matplotlib-base >=1.4.0
- netcdf4
- networkx
- numba
- pandas >=1.4.0
- pint
- pyyaml
- tqdm
- xarray >=2023.5.0
- xmltodict
- epiweeks4cf


test:
imports:
- pywatershed
commands:
- pip check
requires:
- pip

about:
home: https://github.com/EC-USGS/pywatershed
summary: pywatershed is a Python package for hydrologic modeling
license: CC0-1.0
license_file: LICENSE
doc_url: https://pywatershed.readthedocs.io
dev_url: https://github.com/EC-USGS/pywatershed

extra:
recipe-maintainers:
- jmccreight
- jdhughes-usgs
- w-bonelli