exml/lutin_exmltest.py

32 lines
880 B
Python

#!/usr/bin/python
import lutinModule
import lutinTools
import datetime
def Create(target):
# module name is 'edn' and type binary.
myModule = lutinModule.module(__file__, 'exmltest', 'BINARY')
# add the file to compile:
myModule.AddSrcFile([
'exml/test.cpp'])
myModule.AddModuleDepend(['exml'])
now = datetime.datetime.now()
versionID=str(now.year-2012)+"."+str(now.month)+"."+str(now.day)
# set the package properties :
myModule.pkgSet("VERSION", versionID)
myModule.pkgSet("COMPAGNY_TYPE", "org")
myModule.pkgSet("COMPAGNY_NAME", "Edouard DUPIN")
myModule.pkgSet("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
myModule.pkgSet("SECTION", ["Development"])
myModule.pkgSet("PRIORITY", "optional")
myModule.pkgSet("DESCRIPTION", "E_xml tester soft")
myModule.pkgSet("NAME", "exml_tester")
# add the currrent module at the
return myModule