Plugins weren't installed because package installation doesn't by
default include subdirectories.
This would break system building on any morph which uses the plugins
instead of having system build built-in.
package_data seems to be the correct way to do this, as plugins aren't
library files since they have different loading characteristics, such
as different search paths and every found plugin is loaded, rather than
on-demand.
---
setup.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/setup.py b/setup.py
index 9ff424d..ee7c85e 100644
--- a/setup.py
+++ b/setup.py
@@ -106,6 +106,7 @@ FIXME
url='http://www.baserock.org/';,
scripts=['morph'],
packages=['morphlib'],
+ package_data={'morphlib': ['plugins/*_plugin.py']},
data_files=[('share/man/man1', glob.glob('*.[1-8]'))],
cmdclass={
'build': GenerateManpage,
--
1.7.5.4