Yann Weber
be5be7689b
Bugfix in dummy plugin
8 anos atrás
Yann Weber
0406e91846
Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
8 anos atrás
Yann Weber
c3137b658f
Replaced imports by LodelContext.expose_modules() calls
Theorically all of those imports were tested by unit testing, but we've got no inssurance about that.
And even if unit tests had check for syntax errors, all pieces of code were not tested. We cannot
be sure that an import was missed or forgotten...
8 anos atrás
Yann Weber
70ff2fcedc
Solves #124 + discover-plugin argparse enhancement
No need of -d flag to specifiy directories
8 anos atrás
Yann Weber
36bded3051
Add the possibility to add custom methods ton LeAPI dynamic objects using plugin
8 anos atrás
Yann Weber
3adad7bb02
Now plugins can check EM and invalidate activation
They have to implement a _activate() method in their __init__.py file
8 anos atrás
Yann Weber
61f19772fb
New way to handles plugin
- renamed Plugins class to Plugin
- an instance represent a loaded plugin
- classmethod allows to preload & load plugins
8 anos atrás
Yann Weber
c5971d9590
Updated comments (and deleting space between ## and @brief )
8 anos atrás
Yann Weber
c0c5d23adb
Commit with comments, code clean etc.
8 anos atrás