Hi Nilesh, On Wed, May 26, 2021 at 03:22:21AM +0530, Nilesh Patra wrote: > > I've commited some changes to ont-fast5-api. When I try to run any > > of the scripts installed into the package I get: > > > > pkg_resources.DistributionNotFound: The 'progressbar33>=2.3.1' > > distribution was not found and is required by ont-fast5-api > > I fixed this one, and pushed to salsa. It builds, tests run and looks usable.
Thanks for this. > However, one problem - I'm being verbose so we are in loop: > > - This package had .so files vendored in ont_fast5_api/vbz_plugin/* -- this > is a violation, and hence you repacked it - see this[1] > - The so files it had, are basically the shared object files that > libvbz-hdf-plugin vendors, and that was why we packaged it > - *Now*, we need to somehow tell this package to find the .so files at the > right location > > I did not manage to do that, so I simply ended up symlinking the .so vendored > by libvbz-hdf-plugin in that directory. This looks like a bad workaround, > and hence if you have some way to fixup paths, please have a look. > The bad change I'm talking about is this one[2] I see what you mean after disabling this hack locally. I need to admit that I have no idea how to do this properly. I would recommend to ask at debian-mentors and/or debian-python list whether someone might have a better understanding where Python is seeking for *.so plugins. Kind regards Andreas. > [1]: > https://salsa.debian.org/med-team/ont-fast5-api/-/commit/097a79d489062b82c6b3abfc45a970bee59893de > [2]: > https://salsa.debian.org/med-team/ont-fast5-api/-/commit/eb74a43929768ab0455f549919df2c5a6607525d -- http://fam-tille.de