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 @@ -4,6 +4,10 @@ if [ `uname` == Darwin ]; then
LDFLAGS="$LDFLAGS -undefined dynamic_lookup -bundle"
fi
if [`uname` == Darwin] || [`uname` == Linux]; then
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 @@ @@ -4,7 +4,7 @@
# continuum can release a fix.
package:
name: wrf-python
version: {{ load_setup_py_data().version }}
version: 1.0a3
source:
git_url: git@github.com:NCAR/wrf-python.git
@ -17,7 +17,8 @@ requirements: @@ -17,7 +17,8 @@ requirements:
build:
- numpy x.x
- wrapt
- gcc
- mingw # [win]
- gcc # [unix]
- python
- libgcc
@ -25,7 +26,8 @@ requirements: @@ -25,7 +26,8 @@ requirements:
- numpy x.x
- python
- wrapt
- libgcc
- mingw # [win]
- libgcc # [unix]
- xarray
test:

Loading…
Cancel
Save