glue-viz / glue-wwt

WorldWideTelescope viewer in glue
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

Make it possible to import glue-wwt without Qt installed #111

Open astrofrog opened 1 month ago

astrofrog commented 1 month ago

Because glue-wwt can be used in a Jupyter context, we should:

Carifio24 commented 1 month ago

We already have qtpy as an optional dependency, and the newest release of pywwt does as well, so the first item should be all set.

Carifio24 commented 1 month ago

@astrofrog While working on this I realized that while we've removed any qtpy dependency from pywwt, we're still pulling in qtpy as it's a dependency of both echo (on which this package depends) and of pvextractor (pulled in from glue-core).

I would think that for echo we should be able to make qtpy an optional dependency, as I imagine it's not needed unless one is using the Qt widget <--> callback linking functions, but I'm pretty unfamiliar with the functionality of pvextractor so I'm not sure how key it is there.