summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2018-05-03 23:09:34 +0530
committerValerii Ponomarov <vponomar@redhat.com>2018-05-03 23:12:33 +0530
commitdba66954f5b012ec6132c050317fa8f437d28fb5 (patch)
tree20dbea3be0a5becf7ceb12d2732f88501126b444
parent55e396a9ed1ae935bf7ca77bf1e230b5e7c4dea5 (diff)
Add sample files to 'cnslibs' package
With this change we do not face 'No such file or directory' error anymore running tests using 'cnslibs' installed in system. Without it we can run tests not facing such error only using 'tox'. To have it applied we need to reinstall the 'cnslibs' package. Change-Id: Ibf16ef6354210c4356e0c25f16582d0e73e0df13
-rw-r--r--cns-libs/MANIFEST.in1
-rw-r--r--cns-libs/setup.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/cns-libs/MANIFEST.in b/cns-libs/MANIFEST.in
new file mode 100644
index 00000000..c8639685
--- /dev/null
+++ b/cns-libs/MANIFEST.in
@@ -0,0 +1 @@
+recursive-include cnslibs/common *.yaml *.json *.txt
diff --git a/cns-libs/setup.py b/cns-libs/setup.py
index 25da8f86..2c25c8a7 100644
--- a/cns-libs/setup.py
+++ b/cns-libs/setup.py
@@ -11,6 +11,7 @@ setup(
author='Red Hat, Inc.',
author_email='cns-qe@redhat.com',
packages=find_packages(),
+ include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha'
'Intended Audience :: QE, Developers'