diff --git a/conda-recipe/bld.bat b/conda-recipe/bld.bat new file mode 100644 index 0000000000000000000000000000000000000000..4d52bfdce8ac6c25635e63531ad5944cc70aca20 --- /dev/null +++ b/conda-recipe/bld.bat @@ -0,0 +1,3 @@ +xcopy /e "%RECIPE_DIR%\.." "%SRC_DIR%" +%PYTHON% setup.py install +if errorlevel 1 exit 1 \ No newline at end of file diff --git a/conda-recipe/build.sh b/conda-recipe/build.sh new file mode 100644 index 0000000000000000000000000000000000000000..70f66a1b834d62ea4cba972d1f3b92f928ed577c --- /dev/null +++ b/conda-recipe/build.sh @@ -0,0 +1,3 @@ +cp -r ${RECIPE_DIR}/.. ${SRC_DIR} +cd ${SRC_DIR} +$PYTHON setup.py install diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml new file mode 100644 index 0000000000000000000000000000000000000000..292ea79edd0ac7754c88a29b7f5fde4cc53479fc --- /dev/null +++ b/conda-recipe/meta.yaml @@ -0,0 +1,45 @@ +package: + name: pynemo + version: "0.1.0" +#source: +# path: ../ +# git_url: https://github.com/jdha/PyNEMO + +build: + preserve_egg_dir: yes +# number: 0 + +requirements: + build: + - python + - numpy + - setuptools + - scipy + - netcdf4 >=1.1.9 + - matplotlib + - basemap + - thredds_crawler + - seawater + + run: + - python + - numpy + - scipy + - netcdf4 >=1.1.9 + - matplotlib + - basemap + - thredds_crawler + - seawater + + +#test: +# files: +# - ../data/grid_C/NNA_R12_bathy_meter_bench.nc +# requires: +# - nose +# imports: +# - nosetests +about: + home: https://github.com/jdha/PyNEMO + license: GPL v3 + summary: 'NEMO Regional Configuration Toolbox'