Skip to content Skip to sidebar Skip to footer
Showing posts with the label Rpm

Pkg_resources.distributionnotfound When Using A Module Installed From A Bdist_rpm

I am trying to create a rpm of a CLI tool I have built. The rpm is being created and is installing … Read more Pkg_resources.distributionnotfound When Using A Module Installed From A Bdist_rpm

Determine If Package Installed With Yum Python Api?

TLDR; I need simple a Python call given a package name (e.g., 'make') to see if it's in… Read more Determine If Package Installed With Yum Python Api?

How To Get List Installed Linux Rpms With Python?

I use subprocess.getoutput('rpm -qa').split('\n'),it's not very well. rpmfile m… Read more How To Get List Installed Linux Rpms With Python?

Python Distutils - Change Path Rpm Installs To

I have Python 2.7.5 and am using distutils (python setup.py bdist_rpm) to create the following RPM.… Read more Python Distutils - Change Path Rpm Installs To