rpm-python module

"A. Murat Eren" <[email protected]> Mon, 23 Aug 2004 14:08:24 +0300
Newsgroups gmane.linux.redhat.rpm.python
Organization COMU
Message-ID <[email protected]>
 Hi,

 I want to ask some -newbie- questions, sorry from now..

 I'm using Debian unstable and i want to handle RPM or SRC.RPM files to fetch 
some information (like files, dependencies, version, patches etc.) from them 
via python.. This is not a good example i know but, basically I'm looking for 
a solution like this:

 import rpm_python
 rpmf = rpm_python.open("/var/sandbox/program-version.rpm")
 rpmf_deps = rpmf.get("Dependencies")

 The rpm package management system is not installed on my system normally. But 
it is still possible to access RPM files via python, isn't it?

 I searched for the rpm-python module but i couldn't find anything, where can 
i find it (i'll use it on Debian)?


 Thanks in advance.
-- 


- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
 A. Murat Eren
 [email protected], [email protected]
 http://cekirdek.uludag.org.tr/~meren/
 0x88FD9FC7, 
 910A FCB3 2AAB 4CA5 E4D9 EFFA 6555 A33A 88FD 9FC7
- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -

--
 free software is a matter of liberty,
 not price. to understand the concept,
 you should think of "free speech",
 not "free beer".
-