We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d15622c commit 0650c7bCopy full SHA for 0650c7b
generate_pyi_stubs.sh
@@ -27,7 +27,7 @@ fi
27
# Use the PYTHON_EXEC variable instead of the hardcoded "python3"
28
PYTHONPATH=$PP $PYTHON_EXEC -c "import _nimblephysics" || { echo "Python import failed. Exiting."; exit 1; }
29
# 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; }
+PYTHONPATH=$PP $PYTHON_EXEC -m pybind11_stubgen --no-setup-py -o stubs _nimblephysics || { echo "pybind11-stubgen failed. Exiting."; exit 1; }
31
32
touch stubs/_nimblephysics-stubs/py.typed
33
mv stubs/_nimblephysics-stubs/__init__.pyi stubs/_nimblephysics-stubs/_nimblephysics.pyi
0 commit comments