On Fri, May 21, 2021 at 02:40:16PM +0200, pgajdos wrote:
:/home/abuild/rpmbuild/BUILD/bitstruct-8.11.0 # export PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-bitstruct-8.11.0-0.x86_64/usr/lib64/python3.9/site-packages [..] :/home/abuild/rpmbuild/BUILD/bitstruct-8.11.0 # ls /home/abuild/rpmbuild/BUILDROOT/python-bitstruct-8.11.0-0.x86_64/usr/lib64/python3.9/site-packages/bitstruct __init__.py __pycache__ c.cpython-39-x86_64-linux-gnu.so version.py :/home/abuild/rpmbuild/BUILD/bitstruct-8.11.0 #
But: :/home/abuild/rpmbuild/BUILD/bitstruct-8.11.0 # cp /home/abuild/rpmbuild/BUILDROOT/python-bitstruct-8.11.0-0.x86_64/usr/lib64/python3.9/site-packages/bitstruct/c.cpython-39-x86_64-linux-gnu.so bitstruct :/home/abuild/rpmbuild/BUILD/bitstruct-8.11.0 # pytest-3.9 --ignore=_build.python36 --ignore=_build.python39 --ignore=_build.python38 -v [...] ============================= 49 passed in 0.12s ========================= So export PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-bitstruct-8.11.0-0.x86_64/usr/lib64/python3.9/site-packages is wrong or something else? Petr -- Have a lot of fun!