- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.3k
Description
I wonder if it is possible to declare non-python dependencies.
I mean that certain packages are installed better when the lib is already present in system, so it'd be nice to have a way to put into the manifest the info about needed packages from system package manager.
Unfortunately we need a shared name for them all, so we need some remapping common-name -> distro-specific common name. I remember that I have seen in some installers such kind of mapper, but imho embedding this info into an installer would be a mess since this list must be updated. The maintsiners of this list also should take into account compatible alternatives. So I propose to make repo owners compose this list.
I mean, that for example in Ubuntu there are 4 default repos. For each repo a special package with the name of certain format, for example python-os-packages-remapping-.+ and no dependencies should exist.
These packages should dump an sqlite DB of known format somewhere and register location of that DB with setuptools.
A new format of dependency should be introduced, like
qt;os_package
.
When used, setuptools and pip look up the distro-specific name in the registry and then using that name, check if installed, check version and request installation if needed.