[Rpm-maint] [rpm-software-management/rpm] reimplement embedded python interpreter support in a cleaner fashion (#96)

proyvind notifications at github.com
Tue Oct 25 21:19:43 UTC 2016

I've redone the embedded python interpreter, where I've limited it's usage for macro interpreter online,
rather than allowing it to be used from scriptlets.

I've cleaned out a lot of no longer necessary code related to this, while I've also moved the code using the python api into the python rpm module, which is loaded from this using dlopen().

Using the python rpm extension for this purpose might come off as a bit unconvential, yet this was the cleanest way of loading it without adding dependency for librpmio against libpython...
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * reimplement embedded python interpreter support in a cleaner fashion

-- File Changes --

    M configure.ac (8)
    M macros.in (4)
    M python/Makefile.am (5)
    A python/rpmpython.c (161)
    M rpmio/Makefile.am (2)
    M rpmio/macro.c (27)
    A rpmio/rpmpython.c (76)
    A rpmio/rpmpython.h (72)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20161025/8d814341/attachment.html>

More information about the Rpm-maint mailing list