Dirk Meyer wrote:
> Jason Tackaberry wrote:
>>>>> import kaa.metadata
>>>>> print kaa.metadata.version.VERSION
>> 0.7.4
>>
>> dischi: this is a bit lame.  I think we talked about this before.  Can't
>> we have kaa.metadata.version be the version object? 
> 
> I do not remember talking about this :)
> 
>> Does require having the auto-generated version module be renamed to
>> something else (_version.py maybe) and explicitly have "from
>> _version import *" in the modules' __init__.py (and rename VERSION
>> to version).
> 
> If Duncan doesn't use it right now, we can change it. But why rename
> VERSION to version? It is a const value. Maybe start with 'from
> version import VERSION'.

Freevo-1 does use the version, if you want to change it that's fine with 
me, the main benefit of changing VERSION to version is that it would be 
consistent with the sys module? I would like to have a hexversion, the 
same way as Python itself has, as this makes comparing version numbers 
easier and reliable.

Duncan

-------------------------------------------------------------------------
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