Add __init__.py from plugin to be copied on setup scripts

Using debian building scripts to package Quantum and I was getting this error:
('Inner Exception: %s', ImportError('No module named plugins.sample.SamplePlugin',))

Because none of the setup_*.py was copying the __init__.py from the plugins

Thanks

Change-Id: I29699f1f293e2ca271234a2b708aaa1d3637c9dd
This commit is contained in:
Luiz H Ozaki 2012-01-05 18:09:38 -02:00 committed by Luiz Henrique Ozaki
parent f3a9665e43
commit ad5541fc3f

View File

@ -44,7 +44,7 @@ PackageData = {
exclude = ['quantum.client', 'quantum.client.*', 'quantum.server',
'quantum.server.*', 'quantum.tests', 'quantum.tests.*',
'quantum.plugins.*', 'quantum.plugins']
'quantum.plugins.*']
pkgs = find_packages('.', exclude=exclude)
pkgs = filter(lambda x: x.startswith("quantum"), pkgs)