diff options
author | kirill <kirill@cvs.openbsd.org> | 2024-10-28 19:48:38 +0000 |
---|---|---|
committer | kirill <kirill@cvs.openbsd.org> | 2024-10-28 19:48:38 +0000 |
commit | 58dd343cd68ac3dd0d1fbd4e8aa2e4b44a99d760 (patch) | |
tree | 3cf2404384a17e48bef358f8c207520ccaaf71c0 /share | |
parent | 47fe4b91e8bcf3f413fe6be03d6370be44b58baa (diff) |
share/man/man5/python-module.5: document MODPY_TEST_LINK_SO
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/python-module.5 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/share/man/man5/python-module.5 b/share/man/man5/python-module.5 index f5cac281305..505d3e49299 100644 --- a/share/man/man5/python-module.5 +++ b/share/man/man5/python-module.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: python-module.5,v 1.13 2024/07/25 15:36:56 sthen Exp $ +.\" $OpenBSD: python-module.5,v 1.14 2024/10/28 19:48:37 kirill Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2024 $ +.Dd $Mdocdate: October 28 2024 $ .Dt PYTHON-MODULE 5 .Os .Sh NAME @@ -57,6 +57,7 @@ The module then sets .Ev MODPY_SITEPKG , .Ev MODPY_SETUP , .Ev MODPY_TEST_DIR , +.Ev MODPY_TEST_LINK_SO , .Ev MODPY_TEST_LOCALE , .Ev MODPY_WANTLIB , .Ev MODPY_LIB_DEPENDS , @@ -101,6 +102,10 @@ and changes to the directory specified in by default ${WRKSRC} .Pc before running tests. +In addition, it can link all .so files in ${WRKSRC} if +.Ev MODPY_TEST_LINK_SO +is set to Yes, which is required if you are using tests +which use Python code that loads .so files via relative imports. .Pp Most modern Python software can be packaged using a PEP 517 build frontend (in the |