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

<p>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().</p>

<p>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...</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/96'>https://github.com/rpm-software-management/rpm/pull/96</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>reimplement embedded python interpreter support in a cleaner fashion</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/96/files#diff-0">configure.ac</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/96/files#diff-1">macros.in</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/96/files#diff-2">python/Makefile.am</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/96/files#diff-3">python/rpmpython.c</a>
    (161)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/96/files#diff-4">rpmio/Makefile.am</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/96/files#diff-5">rpmio/macro.c</a>
    (27)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/96/files#diff-6">rpmio/rpmpython.c</a>
    (76)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/96/files#diff-7">rpmio/rpmpython.h</a>
    (72)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/96.patch'>https://github.com/rpm-software-management/rpm/pull/96.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/96.diff'>https://github.com/rpm-software-management/rpm/pull/96.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/96">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ANb80zBzxxPXaQCdQQ6iosXNvDvO3_eSks5q3nJvgaJpZM4Kgf29">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ANb80zAR_jPAbHdw8Sc-ImPhTA3HRjNJks5q3nJvgaJpZM4Kgf29.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/rpm-software-management/rpm/pull/96"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/rpm-software-management/rpm","title":"rpm-software-management/rpm","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/rpm-software-management/rpm"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"reimplement embedded python interpreter support in a cleaner fashion (#96)"}],"action":{"name":"View Pull Request","url":"https://github.com/rpm-software-management/rpm/pull/96"}}}</script>