This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
python_packages_to_rpm [2018/08/24 18:37] k2patel created |
python_packages_to_rpm [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
Generating python module rpm is easy.\\ | Generating python module rpm is easy.\\ | ||
Please see the [[https://docs.python.org/3/distutils/builtdist.html|Python 3]] and [[https://docs.python.org/2.0/dist/creating-rpms.html|Python 2]] | Please see the [[https://docs.python.org/3/distutils/builtdist.html|Python 3]] and [[https://docs.python.org/2.0/dist/creating-rpms.html|Python 2]] | ||
+ | |||
+ | ==== Steps ==== | ||
+ | - Download source | ||
+ | - Extract | ||
+ | - Run command as provided in the manual. | ||
+ | |||
+ | <code bash> | ||
+ | python setup.py bdist_rpm | ||
+ | </code> | ||
+ | |||
+ | This will create RPM in dist folder. |