Skip to content

Commit 0650c7b

Browse files
committed
Fixing the path to the pybind11_stubgen module
1 parent d15622c commit 0650c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate_pyi_stubs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fi
2727
# Use the PYTHON_EXEC variable instead of the hardcoded "python3"
2828
PYTHONPATH=$PP $PYTHON_EXEC -c "import _nimblephysics" || { echo "Python import failed. Exiting."; exit 1; }
2929
# It's also more robust to run pybind11-stubgen as a module
30-
PYTHONPATH=$PP $PYTHON_EXEC -m pybind11.stubgen --no-setup-py -o stubs _nimblephysics || { echo "pybind11-stubgen failed. Exiting."; exit 1; }
30+
PYTHONPATH=$PP $PYTHON_EXEC -m pybind11_stubgen --no-setup-py -o stubs _nimblephysics || { echo "pybind11-stubgen failed. Exiting."; exit 1; }
3131

3232
touch stubs/_nimblephysics-stubs/py.typed
3333
mv stubs/_nimblephysics-stubs/__init__.pyi stubs/_nimblephysics-stubs/_nimblephysics.pyi

0 commit comments

Comments
 (0)