Jeremy Katz wrote:
On Tue, 2003-10-14 at 15:47, Taylor, ForrestX wrote:
So, Jeremy is the definitive source. It looks like it may come from
rpm-python.
Yep, all pretty much exactly right.
Cheers,
Jeremy
# rpm -ql rpm-python
/usr/lib/python2.2/site-packages/rpmdb
/usr/lib/python2.2/site-packages/rpmdb/__init__.py
/usr/lib/python2.2/site-packages/rpmdb/_rpmdb.so
/usr/lib/python2.2/site-packages/rpmdb/db.py
/usr/lib/python2.2/site-packages/rpmdb/dbobj.py
/usr/lib/python2.2/site-packages/rpmdb/dbrecio.py
/usr/lib/python2.2/site-packages/rpmdb/dbshelve.py
/usr/lib/python2.2/site-packages/rpmdb/dbtables.py
/usr/lib/python2.2/site-packages/rpmdb/dbutils.py
/usr/lib/python2.2/site-packages/rpmmodule.so
No rpm.py there... I guess with python, you can implement a module in C
directly, without the need to create a rpm.py to bind python function calls with
C function calls?
So if I want to figure out what functions are available in the rpm module, I
need to look at the source code of rpmmodule.so, right? Or is there any
documentation available?
Best regards,
Hans Deragon
--
Consultant en informatique/Software Consultant
Deragon Informatique inc. Open source:
http://www.deragon.biz http://swtmvcwrapper.sourceforge.net
mailto://hans@xxxxxxxxxxx http://autopoweroff.sourceforge.net