From: Kirill A. Korinsky Subject: Re: archivers/py-zstandard: improve tests To: OpenBSD ports , Klemens Nanni Date: Tue, 03 Sep 2024 18:31:56 +0200 On Tue, 03 Sep 2024 15:24:27 +0200, Stuart Henderson wrote: > > The tree layout under the library build dir should be the same as the > layout shouldn't it? So if it does need to move/link (which would be > ugly itself) at least it maybe possible to use a sane default without > setting another var... > I had dig into archivers/py-zstandard (a couple moths ago) and if I recall right the cause of issue was inside zstandard/__init__.py it uses: from .backend_c import * which is a root cause for this issue because . means check the current package, and don't use PYTHONPATH if I recall right. -- wbr, Kirill