Browse Source

Updated recipe for Windows. This might not work.

main
Bill Ladwig 8 years ago
parent
commit
6c0b8643d5
  1. 4
      conda_recipe/build.sh
  2. 8
      conda_recipe/meta.yaml

4
conda_recipe/build.sh

@ -4,6 +4,10 @@ if [ `uname` == Darwin ]; then
LDFLAGS="$LDFLAGS -undefined dynamic_lookup -bundle" LDFLAGS="$LDFLAGS -undefined dynamic_lookup -bundle"
fi fi
if [`uname` == Darwin] || [`uname` == Linux]; then
pip install . pip install .
else
pip install --global-option build --global-option --compiler=mingw32 --global-option --fcompiler=gnu95
fi

8
conda_recipe/meta.yaml

@ -4,7 +4,7 @@
# continuum can release a fix. # continuum can release a fix.
package: package:
name: wrf-python name: wrf-python
version: {{ load_setup_py_data().version }} version: 1.0a3
source: source:
git_url: git@github.com:NCAR/wrf-python.git git_url: git@github.com:NCAR/wrf-python.git
@ -17,7 +17,8 @@ requirements:
build: build:
- numpy x.x - numpy x.x
- wrapt - wrapt
- gcc - mingw # [win]
- gcc # [unix]
- python - python
- libgcc - libgcc
@ -25,7 +26,8 @@ requirements:
- numpy x.x - numpy x.x
- python - python
- wrapt - wrapt
- libgcc - mingw # [win]
- libgcc # [unix]
- xarray - xarray
test: test:

Loading…
Cancel
Save