libseccomp
libseccomp copied to clipboard
What is the best practice for publishing a Python package that depends on the seccomp Python library?
As far as I can tell, libseccomp's Python library is not distributed on pypi.org. It is available through various package managers (such as nixpkgs and the AUR).
I'm building a Python library that depends on the libseccomp Python library. I'd like to publish it to pypi.org. Do you have any advice for how I should do that? Things I've learned:
- IIUC, pypi.org doesn't it if you try to publish a package that depends on a package not in pypi: https://discuss.python.org/t/packages-installed-from-pypi-cannot-depend-on-packages-which-are-not-also-hosted-on-pypi/3736
- There's a discussion about this here: https://www.reddit.com/r/learnpython/comments/m50llv/how_to_use_python_libraries_effectively_when_they/, which mentions
guestfs-pythonandbcc. tl;dr: it looks like guestfs has documented a workaround, but bcc does not. - I stumbled across the
pyseccomppackage which is on pypi.org. I suppose that would work for me, but it looks like it's maintained by a third party and is out of date.
Thanks in advance!
(Related: #61)