> > # Python3 bindings
> > python3 host/libraries/libbladeRF_bindings/python/setup.py install 
> > --root=debian/tmp/ --prefix=/usr
...
> > Copying bladerf.egg-info to 
> > debian/tmp/usr/local/lib/python3.10/dist-packages/bladerf-1.2.1-py3.10.egg-info
> > running install_scripts
> > Installing bladerf-tool script to debian/tmp/usr/local/bin

> >    dh_install
> > dh_install: warning: Cannot find (any matches for) 
> > "usr/lib/python3*/site-packages/*" (tried in ., debian/tmp)

The problem here is that setup.py installs into tmp/usr/local despite
being told to use --prefix=/usr.

I have no idea why it's doing that and couldn't find a sane fix, so I
added a "mv usr/local usr" workaround to debian/rules.

Christoph

Reply via email to