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

Make datacube an optional dependency of dea-tools #1115

Open
robbibt opened this issue Aug 29, 2023 · 1 comment
Open

Make datacube an optional dependency of dea-tools #1115

robbibt opened this issue Aug 29, 2023 · 1 comment

Comments

@robbibt
Copy link
Member

robbibt commented Aug 29, 2023

Many functions in DEA Tools don't directly require datacube access (e.g. our coastal tide modelling functions, RGB and animation code, band indices, vectorising/rasterising tools etc). However, datacube is currently listed as a required dependency here:
https://github.com/GeoscienceAustralia/dea-notebooks/blob/develop/Tools/setup.py#L37

To make dea-tools easier to install, we should consider making datacube an optional dependency, using "extras" here:
https://github.com/GeoscienceAustralia/dea-notebooks/blob/develop/Tools/setup.py#L68-L72

This should allow users to install dea-tools without having to also install datacube.

@robbibt
Copy link
Member Author

robbibt commented Aug 29, 2023

We should however ensure that some important dependencies like odc-geo and odc-stac are correctly included in our setup.py.

@robbibt robbibt moved this to Ideas and improvements 💡 in DEA Notebooks Community Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ideas and improvements 💡
Development

No branches or pull requests

1 participant