Closed ltalirz closed 5 months ago
This is because it downloads the weas library for the first time, then cashing by the browser for later usage. Since the Python widget and JS library are developed in separate repositories, widget imports the URL for simplicity.
it took more than 30 seconds on a reasonably fast machine (M1 Macbook Air), which is enough to make a new user think the widget is broken.
I agree. I think we can bundle the WEAS library localy and publish the package to PyPI.
Yes, having the package work without an internet connection is also an important criterion in some scenarios
I'm not sure what is happening exactly, but the first time I try to run the quickstart
it took more than 30 seconds on a reasonably fast machine (M1 Macbook Air), which is enough to make a new user think the widget is broken.
This only happens the first time; I suspect it is compiling something in the background?
Perhaps this is necessary for installing from source, but this happened for installing the package from PyPI. Is it possible to do ship the widget already precompiled in this case?