You need to add the dependencies to the Requires section, see distutils documentation.
How to include rpm dependency in setup.py
-
15-10-2022 - |
题
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).
解决方案
不隶属于 StackOverflow