- Python
pipcomponentize-py0.22.0
Once you have pip installed, you can install componentize-py using:
pip install componentize-py==0.22.0The bindings are generated from the WIT files under
src/spin_sdk/wit. You can use the regenerate_bindings.sh
script to regenerate them:
bash regenerate_bindings.shAny time you regenerate the bindings or edit files by hand, you'll want to
regenerate the HTML docs to match. First, install pdoc using pip install pdoc3. Then, update the docs using:
./scripts/generate_docs.pyFirst, make sure you have an up-to-date version of the build package installed:
pip install --upgrade buildThen, build the distribution:
rm -rf dist
python -m buildFirst, make sure you have an up-to-date version of the twine package installed:
pip install --upgrade twineThen, publish the distribution:
twine upload dist/*This first time you run that, it will ask for a username and password. Enter
__token__ for the username and specify a valid PyPI token as the password.
Contact Joel Dice for a token if you don't have one.