Commit graph

8 commits

Author SHA1 Message Date
Philipp Hörist
276daa991c Correctly split version string
We changed the version format
2017-11-24 16:49:30 +01:00
Philipp Hörist
775fec2fea Dont activate plugins in PluginManager init
Plugins maybe want to use in their activation Gajim methods that
use an extension point. But because the PluginManager Object is not fully
initialized, the extension point method is not available yet

First create the PluginManager Object, then load Plugins.
2017-11-15 22:26:55 +01:00
Yann Leboulanger
8d4e815f3e fix some pylint errors 2017-08-24 23:01:06 +02:00
André Apitzsch
89c7eb6e6a Rename gajim.common.gajim to avoid name conflicts 2017-08-18 20:03:20 +02:00
André Apitzsch
efec098aef Use absolute imports 2017-08-18 19:48:48 +02:00
Philipp Hörist
635ce52856 PluginManager: prefer plugins in user path
As we always load plugins from the user path first, we should not
reload them later from Gajims plugin base dir
2017-08-07 20:02:03 +02:00
Philipp Hörist
7e0e4cced0 PluginManager: remove plugin path from sys.path
Remove plugin path from sys.path after importing.

If we scan multiple plugin dirs and never remove the path from
sys.path, it is hard to predict from which path python will import
a package.

The chance that the same plugin package is in multiple plugin paths
is high.
2017-08-07 19:28:54 +02:00
André Apitzsch
125ce523e4 Rename src directory 2017-07-02 17:25:47 +02:00
Renamed from src/plugins/pluginmanager.py (Browse further)