summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-12-10 10:55:37 +0100
committerJan Pokorný <jpokorny@redhat.com>2014-12-10 17:05:56 +0100
commit51854948c6237aa78dd89f164201aa806d179021 (patch)
tree56217e1f9da3d4ce6a909eb4915c23573e8d7d89
parent2d1468ec3008ceccca41b797b3c1fb2ff8cc50f3 (diff)
downloadclufter-51854948c6237aa78dd89f164201aa806d179021.tar.gz
clufter-51854948c6237aa78dd89f164201aa806d179021.tar.xz
clufter-51854948c6237aa78dd89f164201aa806d179021.zip
setup: make sure to include ext-plugins/lib-{ccs,pcs}
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--__root__/setup.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/__root__/setup.py b/__root__/setup.py
index 0489a6c..ad9f893 100644
--- a/__root__/setup.py
+++ b/__root__/setup.py
@@ -510,7 +510,12 @@ setup(
# listing each subpackage in package hierarchy
packages=find_packages(
exclude=('ez_setup', '__project__', '__project__.*', '*.tests'),
- ),
+ ) + ['.'.join((pkg_name, 'ext-plugins', libdir, package))
+ for libdir in ('lib-ccs', 'lib-pcs')
+ for package in find_packages(
+ path_join(pkg_name, 'ext-plugins', libdir)
+ )
+ ],
# Following content is also duplicated (in a simplier/more declarative way)
# in MANIFEST.in which serves for ``setup.py sdist'' command and is
# necessary due to http://bugs.python.org/issue2279 fixed as of Python 2.7;