How to include rpm dependency in setup.py

dependencies, python-2.6, rpm, setuptools

Solution

You need to add the dependencies to the Requires section, see distutils documentation.

Problem

I'm new to python but i want to create rpm package by using setuptools and bdist_rpm option. The problem I've occurred is how to include dependencies to other rpm (c/c++ binaries libraries).

Original source