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
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org

Reply via email to