File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,3 +40,7 @@ if ! command_exists extism-py; then
4040 sleep 2
4141 exit 1
4242fi
43+
44+ # Download extism interface file for IDE intellisense
45+ # Ideally we'd have extism-py generate or output this to keep it in-sync
46+ curl -O https://raw.githubusercontent.com/extism/python-pdk/refs/heads/main/extism.pyi
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ name = "<%= project.name %>"
88
99[scripts]
1010# xtp plugin build runs this script to generate the wasm file
11- build = "PYTHONPATH=./plugin:./.venv/lib/python3.13/site-packages extism-py -o plugin.wasm plugin/__init__.py"
11+ build = "uv sync && PYTHONPATH=./plugin:./.venv/lib/python3.13/site-packages extism-py -o plugin.wasm plugin/__init__.py"
1212
1313# xtp plugin init runs this script to format the code
1414format = "uv run ruff format plugin/*.py"
You can’t perform that action at this time.
0 commit comments