fpm -s python -t rpm --python-bin python2.7 --python-easyinstall easy_install-2.7 requests
But I failed to install it:
[vagrant@localhost ~]$ rpm -ivh python-requests-2.18.4-1.noarch.rpm
error: Failed dependencies:
python-certifi >= 2017.4.17 is needed by python-requests-2.18.4-1.noarch
python-chardet >= 3.0.2 is needed by python-requests-2.18.4-1.noarch
python-idna >= 2.5 is needed by python-requests-2.18.4-1.noarch
python-idna < 2.7 is needed by python-requests-2.18.4-1.noarch
python-urllib3 >= 1.21.1 is needed by python-requests-2.18.4-1.noarch
python-urllib3 < 1.23 is needed by python-requests-2.18.4-1.noarch
Since it is tedious and error prone to include all dependencies and their versions, is a way for fpm automatically package the dependencies into the rpm? Thanks for any help!
--
You received this message because you are subscribed to the Google Groups "fpm-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fpm-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for any help!
To unsubscribe from this group and stop receiving emails from it, send an email to fpm-users+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to fpm-users+unsubscribe@googlegroups.com.