From ad5541fc3f12f10138168edad7802d0fde4a78c1 Mon Sep 17 00:00:00 2001 From: Luiz H Ozaki Date: Thu, 5 Jan 2012 18:09:38 -0200 Subject: [PATCH] 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 --- setup_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_common.py b/setup_common.py index 8720bfbe166..3f39b374467 100644 --- a/setup_common.py +++ b/setup_common.py @@ -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)