Note that I installed Ibid by invoking setup.py directly, while I used pip to install my own package, which ought to be work fine if the packages were independent.
Anyway, it's not working; Ibid can't load my plugin.
Wouldn't it be simpler if I could just configure Ibid to load my plugin from its own package? I could give it the full import path for the class (my.package.file.ClassName?) and remove all ambiguity, leaving ibid/plugins for the plugins that are shipped with Ibid.
The directory merging must only happen in some cases, because ibid's plugins are in
./lib/python2. 7/site- packages/ Ibid-0. 2.0dev- py2.7.egg/ ibid/plugins/ quotes. py
while mine is at
./lib/python2. 7/site- packages/ ibid/plugins/ haiku.py
Note that I installed Ibid by invoking setup.py directly, while I used pip to install my own package, which ought to be work fine if the packages were independent.
Anyway, it's not working; Ibid can't load my plugin.
Wouldn't it be simpler if I could just configure Ibid to load my plugin from its own package? I could give it the full import path for the class (my.package. file.ClassName? ) and remove all ambiguity, leaving ibid/plugins for the plugins that are shipped with Ibid.