This could be done, for instance, stripping out the one function used from `cartopy`. There's guidance on how to do this in [cartopy/792](https://github.com/SciTools/cartopy/issues/792).