Python-on-Linux folk: I have a package on PyPI that has a depends on the existence of specific system libraries.

I can document that end-users need to `apt-get install X` before running `pip install Y`. But if they miss those docs, the pip error message is opaque. Options?

@freakboy3742 do nothing! No one else does 😑

In all seriousness, making sure the failure is at installation time instead of runtime is big, as well as linking to the docs on pypa. You could also just vendorize the system dependency in a wheel if you really want, but that feels icky.

@freakboy3742 Have a package as well that needs several system libraries and the docs is the only way I've figured out at least. No one has complained, but my package probably doesn't have users :D

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!