Reputation: 90
I am building a project. CVE-bin-Tool and want to create an RPM using the command
python3 setup.py bdist_rpm
The problem is that the rpm is successfully created but without any of the requirements being added in the rpm. When I install the RPM on another host where I did not manually install the requirements the packaged cve-bin-tool does not function.
Upvotes: 1
Views: 278
Reputation: 1279
setuptools.setup(
name="test-package",
install_requires=['numpy','pandas']
) in the setup.py file, when you mention the metadata about your package, you can create a key install_requires and mention those dependent packages.
Upvotes: 0