From 87b573615f5f521650a325d8eb29afc736d1c8cc Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 28 Jun 2023 15:38:40 +0800 Subject: [PATCH] README.python.md: Add some notes for Windows Note that the DLLs for HarfBuzz and its deps must be found %PATH% on Windows so that pygobject is able to import and use HarfBuzz in Python scripts. Also note that for Visual Studio builds, it is recommended that Visual Studio 2019 or later is used for the build, possibly in regards with how the preprocessor handles C++ code when running g-ir-scanner. --- README.python.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.python.md b/README.python.md index 7496f045e..c945d08a8 100644 --- a/README.python.md +++ b/README.python.md @@ -9,9 +9,13 @@ sudo apt-get install libgirepository1.0-dev And then run `meson setup` and make sure that `Introspection` is reported enabled in output. +If you are building with Visual Studio, it is recommended that Visual Studio +2019 or later is used for this build, for the best build experience. + Compile and install. -Make sure you have the installation lib dir in `LD_LIBRARY_PATH`, as needed +Make sure you have the installation lib dir in `LD_LIBRARY_PATH` (or the +installation DLL dir in `PATH` for Windows systems), as needed for the linker to find the library. Then make sure you also have `GI_TYPELIB_PATH` pointing to the resulting