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

Re: Python code for parsing .deb files



Hi,

Le dimanche 24 avril 2011 à 14:31:03 (+0200 CEST), Florian Weimer a écrit :
> Is there some Python module to extract metadata from .deb files
> (package name, version, source package, source version, architecture)?

Looks like the DebFile class from the debian module does all this.

This is in the python-debian package.

Cheers,
Julien

-- 
  .''`.   Julien Valroff ~ <julien@kirya.net> ~ <julien@debian.org>    
 : :'  :  Debian Developer & Free software contributor
 `. `'`   http://www.kirya.net/
   `-     4096R/ E1D8 5796 8214 4687 E416  948C 859F EF67 258E 26B1


Reply to: