Browse Source

Saving recipes that are mostly working with conda-forge. Fixed warnings with MANIFEST.in

main
Bill Ladwig 8 years ago
parent
commit
6342b55240
  1. 3
      MANIFEST.in
  2. 2
      conda_recipe/bld.bat
  3. 7
      conda_recipe/build.sh
  4. 34
      conda_recipe/meta.yaml

3
MANIFEST.in

@ -6,7 +6,8 @@ include fortran/*.f90 @@ -6,7 +6,8 @@ include fortran/*.f90
include fortran/*.pyf
include setup.py
recursive-include doc/source/*
recursive-include doc/source *
recursive-exclude doc/build *
include doc/make.bat
include doc/Makefile

2
conda_recipe/bld.bat

@ -1,2 +1,2 @@ @@ -1,2 +1,2 @@
pip install --global-option build --global-option --compiler=mingw32 --global-option --fcompiler=gnu95 .
python setup.py build --compiler=mingw32 --fcompiler=gnu95 install --single-version-externally-managed --record=record.txt

7
conda_recipe/build.sh

@ -1,11 +1,10 @@ @@ -1,11 +1,10 @@
#!/bin/sh
#!/bin/bash
if [ `uname` == Darwin ]; then
LDFLAGS="$LDFLAGS -undefined dynamic_lookup -bundle"
fi
pip install .
$PYTHON setup.py build
$PYTHON setup.py install --single-version-externally-managed --record=record.txt

34
conda_recipe/meta.yaml

@ -1,34 +1,38 @@ @@ -1,34 +1,38 @@
{% set version = "1.0b1" %}
package:
name: wrf-python
version: 1.0a3
version: {{ version }}
source:
git_url: https://github.com/NCAR/wrf-python.git
fn: wrf-python-{{ version }}.tar.gz
url: https://github.com/NCAR/wrf-python/archive/{{ version }}.tar.gz
sha256: 94f05a9719701959702094eafb84555a996bc4f7d75042fb07bca3c35bda9f31
build:
number: 1
detect_binary_files_with_prefix: true
skip: True # [win and py>=35]
skip: True # [win32 or np>=112 or (win and py>=35)]
requirements:
build:
- pip
- numpy x.x
- wrapt
- m2w64-toolchain # [win]
- gcc # [unix]
- libgcc # [unix]
- m2w64-toolchain # [win]
- gcc # [unix]
- libgcc # [unix]
- python
- vc 9 # [win and py27]
- vc 10 # [win and py34]
- vc 14 # [win and py>=35]
run:
- numpy x.x
- python
- wrapt
- m2w64-toolchain # [win]
- libgcc # [unix]
- m2w64-toolchain # [win]
- gcc # [unix]
- libgcc # [unix]
- xarray
- vc 9 # [win and py27]
- vc 10 # [win and py34]
@ -39,7 +43,15 @@ test: @@ -39,7 +43,15 @@ test:
- nose
imports:
- wrf
#commands:
#- cd $SRC_DIR/src/examples && for file in xy2.py; do echo $file ; nosetests $file ; done | tee pyngl-test.log
about:
home: https://github.com/NCAR/wrf-python
license: "NCL Source Code"
summary: "Diagnostic and interpolation routines for WRF-ARW data."
extra:
recipe-maintainers:
- bladwig1
- marylhaley
- david-ian-brown
- khallock

Loading…
Cancel
Save