diff --git a/lutin_esvg.py b/lutin_esvg.py index 858d96a..e75aa95 100644 --- a/lutin_esvg.py +++ b/lutin_esvg.py @@ -1,13 +1,17 @@ #!/usr/bin/python -import lutinModule -import lutinTools +import lutinModule as module +import lutinTools as tools -def Create(target): - myModule = lutinModule.module(__file__, 'esvg', 'LIBRARY') +def get_desc(): + return "e-svg SVG image parser and generator" + + +def create(target): + myModule = module.Module(__file__, 'esvg', 'LIBRARY') - myModule.AddModuleDepend(['etk', 'agg', 'exml']) + myModule.add_module_depend(['etk', 'agg', 'exml']) - myModule.AddSrcFile([ + myModule.add_src_file([ 'esvg/Base.cpp', 'esvg/Circle.cpp', 'esvg/debug.cpp', @@ -23,7 +27,7 @@ def Create(target): 'esvg/Stroking.cpp', 'esvg/Text.cpp']) - myModule.AddExportPath(lutinTools.GetCurrentPath(__file__)) + myModule.add_export_path(tools.get_current_path(__file__)) # add the currrent module at the return myModule diff --git a/monk_esvg.py b/monk_esvg.py index 99809f9..e7c229d 100644 --- a/monk_esvg.py +++ b/monk_esvg.py @@ -2,6 +2,10 @@ import monkModule as module import monkTools as tools +def get_desc(): + return "e-svg SVG image parser and generator" + + def create(): # module name is 'edn' and type binary. myModule = module.Module(__file__, 'esvg', 'LIBRARY') @@ -10,6 +14,3 @@ def create(): myModule.set_path(tools.get_current_path(__file__) + "/esvg/") # add the currrent module at the return myModule - -def get_desc(): - return ""