On Fri, 10 Jul 2026 20:08:22 +0100 Darac Marjal <[email protected]> wrote: > On 10/07/2026 18:48, David Niklas wrote: > > Hello, > > I wanted to install a python pip wheel file globally without > > breaking my system packages. I tried searching online, but I cannot > > figure out how to do that. > > > How do you install a .whl file globally in debian without breaking > > system packages? > > > If you only have the wheel file, probably not much you can do. But if > you have the original python repository, you can use "stdeb" to create > a debian package for the library, that way you can specify the > dependencies. > > > Something like "sudo apt install debhelper dh-python python3-stdeb" > then "python3 setup.py --command-packages=stdeb.command bdist_deb". > > > YMMV. >
There is no setup.py file in the repo. The build command is python -m build wheel. The build program appears to be meson from the files in the root dir of the repo. Thanks!

