-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add geoviews as extra optional dependency in setup.py #193
Conversation
Using conda to install PROJ, so that cartopy can be installed, and therefore geoviews can be installed too!
Perhaps cartopy doesn't work with PROJ 8.0.0 yet?
300408c
to
788303b
Compare
Thanks for putting this together, @weiji14! If @icetianli is unable to review, I will do so Friday. |
Thank you @weiji14 for this PR! I have been trying to install geoviews as extra dependency using the instructions in your comment:
But it keeps showing the following errors about Fiona and Cartopy:
However, it works perfectly fine if I didn't add
Any idea why? Or is it just a typo...? Thanks! |
Hmm, you're right. This is why it is recommended to install geoviews/cartopy/shapely via
Just to be clear, the |
Co-authored-by: Tian Li <[email protected]>
* updated v0.4.0 * MNT: Re-rendered with conda-build 3.21.4, conda-smithy 3.10.1, and conda-forge-pinning 2021.05.13.19.15.21 * Add missing required dependencies for v0.4.0 Specifically: backoff, dask, datashader, holoviews, pandas and tqdm * Include geoviews for plotting interactive geographical maps Xref icesat2py/icepyx#193 * Include hvplot and intake as runtime dependencies too Co-authored-by: Wei Ji <[email protected]>
List
geoviews
as an optional dependency in the setup.py file. Also set up travis to install PROJ and GEOS first so thatcartopy
(a requirement ofgeoviews
) can be installed.Note that PROJ version is pinned to 7.2.0 because PROJ 8.0.0 doesn't seem to be supported by cartopy yet, wait for SciTools/cartopy#1752.
Fixes #177.
References: