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.
77
77
Also, when building in MSYS2, you need to set the ` SETUPTOOLS_USE_DISTUTILS `
78
78
environment variable to ` stdlib ` ; this is because MSYS2 uses a patched version
79
79
of ` 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 `
80
82
81
83
### Enabling GraphML
82
84
@@ -158,8 +160,16 @@ the packaged igraph library instead of bringing its own copy.
158
160
It is also useful on macOS if you want to link to the igraph library installed
159
161
from Homebrew.
160
162
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.
163
173
164
174
** Warning:** the Python interface is guaranteed to work only with the same
165
175
version of the C core that is vendored inside the ` vendor/source/igraph `
You can’t perform that action at this time.
0 commit comments