It seems RHEL/CentOS prefers python3-{package}.rpm as the RPM name, with the python3 part of the package name. If I add python3 as a name prefix in setuptools, it works, but it changes the egg-info directory to have the python3- prefix as well, which is not what I’ve seen in other python RPMs in CentOS.

 

Is there a way I can add the python3 prefix when doing python3 setup.py bdist_rpm?

 

Thanks.

 

--John