You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using bmipy for a teachbooks BMI "toybox". However, micropip can only install packages with pure python wheels, but only the source tarball is available for bmipy.
Apart from enabling easy installation in WASM Python, having wheels available has more benefits:
Faster installation for pure Python packages.
Avoids arbitrary code execution for installation. (Avoids setup.py)
Allows better caching for testing and continuous integration.
Creates .pyc files as part of installation to ensure they match the Python interpreter used.
More consistent installs across platforms and machines.
I tried using bmipy for a teachbooks BMI "toybox". However, micropip can only install packages with pure python wheels, but only the source tarball is available for
bmipy
.Apart from enabling easy installation in WASM Python, having wheels available has more benefits:
(source: https://pythonwheels.com/)
To create both a tarball and wheel, the command following command suffices:
> python -m build ... Successfully built bmipy-2.0.2.dev0.tar.gz and bmipy-2.0.2.dev0-py3-none-any.whl
The text was updated successfully, but these errors were encountered: