This shows you the differences between two versions of the page.
python_packages_to_rpm [2018/08/24 18:38] k2patel |
python_packages_to_rpm [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Python Module RPM ====== | ||
- | 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]] | ||
- | ==== 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. |