On Fri, Oct 22, 2021 at 08:18:52AM +0100, Stuart Henderson wrote: > > +TESTLIBDIR = lib.openbsd-${OSREV}-${ARCH}-${MODPY_VERSION} > > +TEST_ENV += PYTHONPATH=${TESTLIBDIR}
> Do you think we might be able to do this by default in python.port.mk > (at least for ports setting MODPY_PYTEST)? Probably. I mainly haven't since not all ports put things in such a directory. Many just use "lib" without the decorations. I did consider a flag to make it do this little dance though. --Kurt