Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove wrf-python wheel install on Windows #176

Merged
merged 1 commit into from
Jul 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions gis4wrf/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,34 +58,19 @@
#Dependency('pandas', install='0.20.3', min=None) # for xarray
]
# For some packages we need to use different versions depending on the Python version used.
# Also, 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 PY_MAJORMINOR == ('3', '6'):
DEPS += [
# NetCDF4 >= 1.3.0 is built against too recent numpy version.
Dependency('netCDF4',
install='1.2.9',
min='None'),
]
if platform.system() == 'Windows':
DEPS += [
Dependency('wrf-python',
install='https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com/wrf_python-1.3.2-cp36-cp36m-win_amd64.whl',
min='1.3.2'),
]
elif PY_MAJORMINOR == ('3', '7'):
DEPS += [
Dependency('netCDF4',
install='1.4.2',
min='None'),
]
if platform.system() == 'Windows':
DEPS += [
Dependency('wrf-python',
install='https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com/wrf_python-1.3.2-cp37-cp37m-win_amd64.whl',
min='1.3.2'),
]

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