This commit adds conditional creation of install_requires list
in setup.py for rpm distribution.
If rpm-py-installer was added there unconditionally,
rpm of ubipop couldn't be installed on some envs.
If implemented this way there is no need to change
anything in .spec file for rpm builds.
This commit adds conditional creation of install_requires list in setup.py for rpm distribution. If rpm-py-installer was added there unconditionally, rpm of ubipop couldn't be installed on some envs. If implemented this way there is no need to change anything in .spec file for rpm builds.
This fix is based on rpm-py-installer docs: See Q6 in FAQ -> https://github.com/junaruga/rpm-py-installer/blob/master/docs/users_guide.md