Skip to content

Commit

Permalink
update wrf-python wheel URLs for Windows (fixes #100)
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik committed Oct 30, 2018
1 parent b36b117 commit c0e4890
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions gis4wrf/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,19 @@
# wrf-python does not have official wheels yet, see https://github.com/NCAR/wrf-python/issues/42.
# Instead, at least for Windows, we install our own.
# macOS/Linux wheels are built via Travis CI which doesn't provide free artifact storage.
if platform.system() == 'Windows' and PY_MAJORMINOR == ('3', '6'):
DEPS += [
Dependency('wrf-python',
install='https://ci.appveyor.com/api/buildjobs/62bl4ng5gg62qcpl/artifacts/wrf_python-1.1.2-cp36-none-win_amd64.whl',
min='1.1.2'),
]
if platform.system() == 'Windows':
if PY_MAJORMINOR == ('3', '6'):
DEPS += [
Dependency('wrf-python',
install='https://ci.appveyor.com/api/buildjobs/sj9br4xl885ncidm/artifacts/wrf_python-1.1.2-cp36-cp36m-win_amd64.whl',
min='1.1.2'),
]
elif PY_MAJORMINOR == ('3', '7'):
DEPS += [
Dependency('wrf-python',
install='https://ci.appveyor.com/api/buildjobs/o3ow5itmyi8nhhk2/artifacts/wrf_python-1.1.2-cp37-cp37m-win_amd64.whl',
min='1.1.2'),
]

# Use a custom folder for the packages to avoid polluting the per-user site-packages.
# This also avoids any permission issues.
Expand Down

0 comments on commit c0e4890

Please sign in to comment.