








/opt/python-wasm-sdk/python3-wasm setup.py bdist_wheel

/opt/python-wasm-sdk/python3-wasm setup.py bdist_wheel 















python3.12 -m build --wheel and the resulting .whl goes in the dist directory.
if you move/remove files remember to clean it (or just delete the lib directory in build) cos otherwise it won't remove the copies of your files and you'll get weird import errors and other problems from having two (possibly different) copies of some of your source files. And then you include the path to the .whl file in your pyscript config (assuming you're serving it from the same place. or put it on pypi and load it from there)




















