Mercurial > libervia-backend
comparison src/core/constants.py @ 2145:33c8c4973743
core (plugins): added missing contants + use of new constants in PLUGIN_INFO
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Feb 2017 18:59:10 +0100 |
parents | 1d3f73e065e1 |
children | bca699faf416 |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
174 ## Plugins ## | 174 ## Plugins ## |
175 | 175 |
176 # PLUGIN_INFO keys | 176 # PLUGIN_INFO keys |
177 # XXX: we use PI instead of PLUG_INFO which would normally be used | 177 # XXX: we use PI instead of PLUG_INFO which would normally be used |
178 # to make the header more readable | 178 # to make the header more readable |
179 PI_NAME = u'name' | |
179 PI_IMPORT_NAME = u'import_name' | 180 PI_IMPORT_NAME = u'import_name' |
181 PI_MAIN = u'main' | |
182 PI_HANDLER = u'handler' | |
183 PI_TYPE = u'type' | |
184 PI_MODES = u'modes' | |
185 PI_PROTOCOLS = u'protocols' | |
180 PI_DEPENDENCIES = u'dependencies' | 186 PI_DEPENDENCIES = u'dependencies' |
181 PI_RECOMMENDATIONS = u'recommendations' | 187 PI_RECOMMENDATIONS = u'recommendations' |
188 PI_DESCRIPTION = u'description' | |
189 PI_USAGE = u'usage' | |
182 | 190 |
183 # Types | 191 # Types |
184 PLUG_TYPE_XEP = "XEP" | 192 PLUG_TYPE_XEP = "XEP" |
185 PLUG_TYPE_MISC = "MISC" | 193 PLUG_TYPE_MISC = "MISC" |
186 PLUG_TYPE_EXP = "EXP" | 194 PLUG_TYPE_EXP = "EXP" |