[DEV] add the package properties of the edn package

This commit is contained in:
Edouard DUPIN 2013-04-22 21:57:24 +02:00
parent 73c2e6a547
commit 8c241ef106
2 changed files with 16 additions and 3 deletions

View File

@ -37,7 +37,7 @@
</rule>
<rule name="my function keyword">
<color>systemFunction</color>
<start>\@print|len|range|del|__init__|self\@</start>
<start>\@print|len|range|del|__init__|self|os\.|sys\.|path\.\@</start>
</rule>
<rule name="my type">
<color>type</color>
@ -45,7 +45,7 @@
</rule>
<rule name="my storage keyword">
<color>storageKeyword</color>
<start>\@def|class\@</start>
<start>\@def|class|import|from|as|try|except\@</start>
</rule>
<rule name="numeric constant">
<color>number</color>

View File

@ -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 <yui.heero@gmail.com>"])
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