From: Matthew Fernandez Date: Sat, 5 Jun 2021 17:38:32 +0000 (-0700) Subject: add a note to developer guide about PYTHONPATH X-Git-Tag: 2.47.3~8^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6e44b757362c3aad9393a30601dc1ca5924dc41;p=graphviz add a note to developer guide about PYTHONPATH The test suite does not currently rely on the installed Graphviz Python bindings being findable and usable. However in future test cases may be introduced that do. This change future proofs the instructions against an update like this. Related to #1992. --- diff --git a/DEVELOPERS.md b/DEVELOPERS.md index 5404a041f..960b0cd3e 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -258,6 +258,7 @@ follows: # run the Graphviz test suite, making the temporary installation visible to it env PATH=${PREFIX}/bin:${PATH} C_INCLUDE_PATH=${PREFIX}/include \ LD_LIBRARY_PATH=${PREFIX}/lib LIBRARY_PATH=${PREFIX}/lib \ + PYTHONPATH=${PREFIX}/lib/graphviz/python3 \ python3 -m pytest tests rtest --verbose ```