summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/numpy-custom-dependency.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets/numpy-custom-dependency.md')
-rw-r--r--docs/markdown/snippets/numpy-custom-dependency.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/snippets/numpy-custom-dependency.md b/docs/markdown/snippets/numpy-custom-dependency.md
new file mode 100644
index 000000000..5934180c0
--- /dev/null
+++ b/docs/markdown/snippets/numpy-custom-dependency.md
@@ -0,0 +1,9 @@
+## New numpy custom dependency
+
+Support for `dependency('numpy')` was added, via supporting the `numpy-config` tool and
+pkg-config support, both of which are available since NumPy 2.0.0.
+
+Config-tool support is useful because it will work out of the box when
+``numpy`` is installed, while the pkg-config file is located inside python's
+site-packages, which makes it impossible to use in an out of the box manner
+without setting `PKG_CONFIG_PATH`.