Apt Dependies For Pypi Package
Question about the policy of installing third-party binary dependencies missing from pypi. There is a package distributed via pypi, depending on the set of libraries from the debia
Solution 1:
The most correct way is to distribute your packages in the proper system package format — rpm, deb, whatever. Those formats allow to declare other system dependencies so that package managers automatically resolve dependencies version and install the dependencies.
To create a deb package from a Python one use https://pypi.org/project/stdeb/.
If you want to distribute Python package from PyPI there is no way for the package to declare system dependencies. The only way to handle this is to document dependencies and let the user handle them.
Post a Comment for "Apt Dependies For Pypi Package"