Skip to content

Commit 675fff9

Browse files
author
Matthias Koeppe
committed
build/pkgs/python_igraph/spkg-install.in: Use PEP 517 explicitly
1 parent dab2856 commit 675fff9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
cd src
2-
sdh_pip_install --config-settings "--global-option=--use-pkg-config --global-option=--no-wait" .
2+
# Use --use-pep517 because https://github.com/igraph/python-igraph as of 0.9.11 does not have pyproject.toml
3+
# and so "pip wheel" would use a legacy build method, ignoring --config-settings.
4+
#
5+
# TODO: With setuptools 63.2.0, passing another --config-settings "--global-option=--no-wait" (not really needed)
6+
# kills the "--global-option=--use-pkg-config".
7+
# https://github.com/pypa/setuptools/issues/3380 makes changes to this, so we can revisit this after
8+
# the next setuptools upgrade.
9+
#
10+
sdh_pip_install --use-pep517 --config-settings "--global-option=--use-pkg-config" .

0 commit comments

Comments
 (0)