From 22dcb692adefea7d51e480e36a53446cc0777c01 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 19 Jun 2022 00:51:54 -0400 Subject: python module: implicitly add python dep to extensions If there isn't a preexisting dependency on python, append one. It's almost assuredly needed, so just do the right thing out of the box. --- docs/markdown/Python-module.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/markdown/Python-module.md') diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md index 8809fd0..bf40ce4 100644 --- a/docs/markdown/Python-module.md +++ b/docs/markdown/Python-module.md @@ -99,9 +99,9 @@ Additionally, the following diverge from [[shared_module]]'s default behavior: of Python that support this (the python headers define `PyMODINIT_FUNC` has default visibility). -`extension_module` does not add any dependencies to the library so -user may need to add `dependencies : py_installation.dependency()`, -see [[dependency]]. +*since 0.63.0* `extension_module` automatically adds a dependency to the library +if one is not explicitly provided. To support older versions, the user may need to +add `dependencies : py_installation.dependency()`, see [[dependency]]. **Returns**: a [[@build_tgt]] object -- cgit v1.1