diff --git a/data/languages/python/highlight.xml b/data/languages/python/highlight.xml index 846ed8b..eb989ee 100644 --- a/data/languages/python/highlight.xml +++ b/data/languages/python/highlight.xml @@ -37,7 +37,7 @@ systemFunction - \@print|len|range|del|__init__|self\@ + \@print|len|range|del|__init__|self|os\.|sys\.|path\.\@ type @@ -45,7 +45,7 @@ storageKeyword - \@def|class\@ + \@def|class|import|from|as|try|except\@ number diff --git a/sources/lutin_edn.py b/sources/lutin_edn.py index 3427d14..87c8bce 100755 --- a/sources/lutin_edn.py +++ b/sources/lutin_edn.py @@ -4,7 +4,7 @@ import lutinTools def Create(target): # module name is 'edn' and type binary. - myModule = lutinModule.module(__file__, 'edn', 'BINARY') + myModule = lutinModule.module(__file__, 'edn', 'PACKAGE') # add the file to compile: myModule.AddSrcFile([ 'appl/ctags/readtags.cpp', @@ -81,6 +81,19 @@ def Create(target): myModule.AddPath(lutinTools.GetCurrentPath(__file__)+"/appl/Gui") myModule.AddPath(lutinTools.GetCurrentPath(__file__)+"/appl/Highlight") + + + # set the package properties : + myModule.pkgSet("VERSION", "0.4.0") + myModule.pkgSet("COMPAGNY_TYPE", "org") + myModule.pkgSet("COMPAGNY_NAME", "Edouard DUPIN") + myModule.pkgSet("MAINTAINER", ["Mr DUPIN Edouard "]) + myModule.pkgSet("ICON", "/../data/icon.png") + myModule.pkgSet("SECTION", ["Development", "Editors"]) + myModule.pkgSet("PRIORITY", "optional") + myModule.pkgSet("DESCRIPTION", "Text editor for sources code with ctags management") + + # add the currrent module at the return myModule