Friends,
I am quite a Python newbie. After googling several hours I would like to 
consult you about any procedure to get the version info for Python packages 
available for importing.

Seemingly such metadata (the package version) are only available using the 
associated EGG file. However, I am not able to find a simple procedure to get 
it. The modules distutils and pkgutil are not clearly useful. Only the external 
package pkg_resources seems to have useful functions
http://peak.telecommunity.com/DevCenter/PkgResources

After looking Freevo source and kaa-metadata, I could not find applicable 
examples either.

How to find out the version of a package available for importing?

I am looking for such a procedure to be able to manage properly the several 
versions of the package python-gdata (used by the youtube plugin). Google has 
just released the version 1.2.0 and there are around a variety of versions 
(1.0.9 for Ubuntu, 1.1.1 for Debian) within significant differences.

Regards, JP



      
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to