Sorry for new thread.

I joined this mailing list to comment for below thread
Subject: koji in PiPy/support of setup.py

https://lists.fedoraproject.org/archives/list/koji-devel@lists.fedorahosted.org/thread/XLIR4DSXXRU3OYWXEZWJQJAEEIOUQEXY/?sort=date

I could not comment from the page directly.
I do not know why.

My comment is

Guys,
Try to add rpm-py-installer to the setup.py install_requires, that I developed recently.
https://github.com/junaruga/rpm-py-installer

This installs the rpm python module from PyPI.
This has been used in a project rebase-helper.
https://github.com/rebase-helper/rebase-helper/blob/master/setup.py#L82

Jun