diff --git a/meta.yaml b/meta.yaml index aa4ac38..06db6dc 100644 --- a/meta.yaml +++ b/meta.yaml @@ -12,8 +12,7 @@ build: host: platform: linux-64 script: - - python setup.py build_external - # Build the package for macOS (64-bit) + - python setup.py build_external host: platform: osx-64 script: @@ -33,19 +32,27 @@ requirements: - make - python - setuptool + - pip run: - python - numpy - - matplotlib + - matplotlib-base - gdal - pyflowline + +test: + imports: + - pyhexwatershed + commands: + - pip check + requires: + - pip about: home: https://github.com/changliao1025/pyhexwatershed - license: MIT - license_familY: MIT - license_file: LICENSE - summary: "HexWatershed" + summary: A mesh-independent flow direction model for hydrologic models + license: BSD-2-Clause + license_file: LICENSE.md extra: recipe-maintainers: diff --git a/setup.py b/setup.py index 93e876d..de3b04b 100644 --- a/setup.py +++ b/setup.py @@ -204,6 +204,6 @@ def run(self): cmdclass={"build_external": build_external}, classifiers=CLASSIFY, extras_require={ - 'visualization': ['matplotlib', 'cartopy>=0.21.0'] + 'visualization': ['cython', 'matplotlib', 'cartopy>=0.21.0'] } )