Hi,
I'm working towards updating python-dns-lexicon. It can handle many different
dns APIs and for some APIs the code needs additional libraries (some of these
are not packaged for Fedora).
Upstream handles this by using "extras" requirements and the CLI throws an
error message if you try to use a provider which needs additional dependencies.
lexicon.client.ProviderNotAvailableError: This provider (transip) has
required dependencies that are missing. Please install lexicon[transip] first.
Ideally I'd like to move the provider's Python file (just a single file) AND
the generated .pyc to a RPM subpackage where I could add the required
dependencies (if possible).
All provider files are located in the same directory.
Is that possible with Fedora's RPM macros?
Felix
Show replies by date