File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ where `[arch]` is either `Win32` for 32-bit builds or `x64` for 64-bit builds.
7777Also, when building in MSYS2, you need to set the ` SETUPTOOLS_USE_DISTUTILS `
7878environment variable to ` stdlib ` ; this is because MSYS2 uses a patched version
7979of ` distutils ` that conflicts with ` setuptools >= 60.0 ` .
80+ Note: You need the following packages:
81+ ` $MINGW_PACKAGE_PREFIX-python-pip $MINGW_PACKAGE_PREFIX-python-setuptools $MINGW_PACKAGE_PREFIX-cc $MINGW_PACKAGE_PREFIX-cmake `
8082
8183### Enabling GraphML
8284
@@ -158,8 +160,16 @@ the packaged igraph library instead of bringing its own copy.
158160It is also useful on macOS if you want to link to the igraph library installed
159161from Homebrew.
160162
161- Due to the lack of support of ` pkg-config ` on Windows, it is currently not
162- possible to build against an external library on Windows.
163+ Due to the lack of support of ` pkg-config ` on MSVC, it is currently not
164+ possible to build against an external library on MSVC.
165+
166+ In case you are already using a MSYS2/[ MinGW] ( https://www.mingw-w64.org/ ) and already have
167+ [ mingw-w64-igraph] ( https://packages.msys2.org/base/mingw-w64-igraph ) installed,
168+ simply type:
169+ ```
170+ IGRAPH_USE_PKG_CONFIG=1 SETUPTOOLS_USE_DISTUTILS=stdlib pip install igraph
171+ ```
172+ to build.
163173
164174** Warning:** the Python interface is guaranteed to work only with the same
165175version of the C core that is vendored inside the ` vendor/source/igraph `
You can’t perform that action at this time.
0 commit comments