You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:30:37 UTC

[buildstream] 05/11: fixup! Make templated source tests available in buildstream.plugintestutils

This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch phil/remove-ostree-plugin
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit ed855ab5be768a4246809876219cc882bda2ea9a
Author: Phil Dawson <ph...@codethink.co.uk>
AuthorDate: Wed Mar 27 15:25:49 2019 +0000

    fixup! Make templated source tests available in buildstream.plugintestutils
---
 setup.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 49b1154..f9ed753 100755
--- a/setup.py
+++ b/setup.py
@@ -322,7 +322,10 @@ setup(name='BuildStream',
       python_requires='~={}.{}'.format(REQUIRED_PYTHON_MAJOR, REQUIRED_PYTHON_MINOR),
       packages=find_packages(exclude=('tests', 'tests.*')),
       package_data={'buildstream': ['plugins/*/*.py', 'plugins/*/*.yaml',
-                                    'data/*.yaml', 'data/*.sh.in']},
+                                    'data/*.yaml', 'data/*.sh.in'],
+                    'buildstream.plugintestutils': ['_sourcetests/project']
+      },
+      include_package_data=True,
       data_files=[
           # This is a weak attempt to integrate with the user nicely,
           # installing things outside of the python package itself with pip is