define the 'modname' attribute required by __pkginfo__ format
authorJulien Jehannet <julien.jehannet@logilab.fr>
Fri, 30 Jan 2009 15:33:41 +0100
changeset 16 a6db8ae22525
parent 15 b141a9101bd3
child 17 ca5839227688
define the 'modname' attribute required by __pkginfo__ format
__pkginfo__.py
--- a/__pkginfo__.py	Thu Nov 20 13:20:45 2008 +0100
+++ b/__pkginfo__.py	Fri Jan 30 15:33:41 2009 +0100
@@ -2,6 +2,7 @@
 """cubicweb-classification-schemes packaging information"""
 
 distname = "cubicweb-keyword"
+modname = distname.split('-', 1)[1]
 
 numversion = (1, 2, 1)
 version = '.'.join(str(num) for num in numversion)