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 6 months ago

astrofrog commented 6 months ago

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

Carifio24 commented 6 months 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 6 months 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.

astrofrog commented 4 months ago

echo and glue-core now no longer pull in qtpy, so this should now be possible?

Carifio24 commented 4 months ago

I believe so! I'll check and verify that, and if so I can start addressing the latter two items in the list.

astrofrog commented 4 months ago

Thanks!