diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-07-31 09:43:09 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-07-31 09:43:09 +0100 |
commit | c04d82fdcc08743f799a7d25204df5be2a5f1f16 (patch) | |
tree | 4b0981d37470279c0698c035ddf634cb594eec04 /setup.py | |
parent | 93a3d28ee51cc301cd79ff8bfabb2010defda09b (diff) | |
download | morph-c04d82fdcc08743f799a7d25204df5be2a5f1f16.tar.gz |
buildsystem: set package_data to install plugins
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.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |