Guys,
For some time now I use my own setup.py. I guess it is not ready for PR so > I'd love to see comments on this as well: > > https://pagure.io/fork/pbabinca/koji/blob/setup_WIP/f/setup.py
Try to add rpm-py-installer to the setup.py install_requires, that I developed recently for an another project. 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