exml/lutin_exmltest.py

32 lines
880 B
Python
Raw Normal View History

2013-06-21 20:56:22 +02:00
#!/usr/bin/python
import lutinModule
import lutinTools
import datetime
def Create(target):
# module name is 'edn' and type binary.
2013-07-02 21:50:06 +02:00
myModule = lutinModule.module(__file__, 'exmltest', 'BINARY')
2013-06-21 20:56:22 +02:00
# add the file to compile:
myModule.AddSrcFile([
'exml/test.cpp'])
2013-06-21 20:56:22 +02:00
2013-07-02 21:50:06 +02:00
myModule.AddModuleDepend(['exml'])
2013-06-21 20:56:22 +02:00
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