fraymio / modis-tools

Tools for working with the MODIS API and MODIS data.
Apache License 2.0
23 stars 12 forks source link

Make shapely dependency optional or remove it entirely #6

Open jtanwk opened 2 years ago

jtanwk commented 2 years ago

Is your feature request related to a problem? Please describe. Shapely is only used IF a shapely geometry is provided by the user when selecting tiles to download, making it an unused dependency in many use cases that do not provide bounding boxes in that format.

Describe the solution you'd like Deprecate the use of Shapely where possible. Very likely that if modis_tools is being used in a project where Shapely geometries are already being provided, then that project already has Shapely as a dependency and it does not have to be installed for modis_tools as well.

Describe alternatives you've considered Alternatively, we could edit setup.py to make shapely purely optional.

Additional context N/A