Closed thyrc closed 10 months ago
This would have to be done in the libusbsio package. The library is not part of pynitrokey but only a dependency that we don’t control. I recommend to contact the author listed on the PyPI page.
Thank you. I contacted the libusbsio package owner, but since the package is a binary library I don't see how this could be handled nicely. I was just wondering if building the library from source could be automated within the pip / pipx / pypi / Python universe without too much trouble.
I'm okay with building the library by hand, that's what you get when you choose weird setups ;)
Hi,
it seems
pipx install pynitrokey
installs a pre-compiled version of the libusbsio library. This leads to an error on musl libc based systems:Building the libusbsio from source w/ the musl standard library & exchanging the glibc libusbsio.so version in libusbsio/bin/linux_x86_64/ directory will 'fix' the error, but I was wondering if
pipx
could build the libraries during the installation (and use any possible toolchain hardening features on the destination host along the way, maybe?) similar to the rust part of the installation. Any thoughts?