Re: Where is rpm.py located?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux