diff --git a/README.md b/README.md index 2fbb429faf0e3e1c1faf2895b972ef00b399c27f..0d5af375474cdd99034b4a72f784d7c7d3293f72 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,11 @@ Studio. 3. Run `make` to build the project (use `make -j N` if you want to use N threads) +# Create autocomplete stub +Make sure you have mypy installed. Navigate to where your library.pyd/so is located then run: +```terminal +stubgen -m library -o . +``` # How to use the library with PyCharm diff --git a/create-visual-studio-solution-python312.sh b/create-visual-studio-solution-python312.sh new file mode 100644 index 0000000000000000000000000000000000000000..6813c78038e134392b21d66693abd54dc90ac4a8 --- /dev/null +++ b/create-visual-studio-solution-python312.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +mkdir build +cd build +"C:\Program Files\CMake\bin\cmake.exe" -G "Visual Studio 17 2022" -DPYTHON_EXECUTABLE:FILEPATH="C:/Program Files/Python312/python.exe" .. +"C:\Program Files\CMake\bin\cmake.exe" --build . --config Release --verbose diff --git a/lib/pybind11 b/lib/pybind11 index 1a0ff405498b6aac4b57cf0d95670010e5e37973..35ff42b56e9d34d9a944266eb25f2c899dbdfed7 160000 --- a/lib/pybind11 +++ b/lib/pybind11 @@ -1 +1 @@ -Subproject commit 1a0ff405498b6aac4b57cf0d95670010e5e37973 +Subproject commit 35ff42b56e9d34d9a944266eb25f2c899dbdfed7