define the 'modname' attribute required by __pkginfo__ format
authorJulien Jehannet <julien.jehannet@logilab.fr>
Fri, 30 Jan 2009 15:33:29 +0100
changeset 7 768d024d363f
parent 6 037eb2929ed0
child 8 b9f1006b4c00
define the 'modname' attribute required by __pkginfo__ format
__pkginfo__.py
--- a/__pkginfo__.py	Thu Dec 18 18:22:56 2008 +0100
+++ b/__pkginfo__.py	Fri Jan 30 15:33:29 2009 +0100
@@ -2,6 +2,7 @@
 """cubicweb-fresh application packaging information"""
 
 distname = 'cubicweb-fresh'
+modname = distname.split('-', 1)[1]
 
 numversion = (0, 2, 0)
 version = '.'.join(str(num) for num in numversion)