aboutsummaryrefslogtreecommitdiffstats
path: root/test/security
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-08-25 17:27:05 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2020-08-26 14:39:40 +0000
commitd1cc6db2b73f6381e82cfa8613da66e8b3705440 (patch)
treede0082244be4e4a1c2d0dd8da634f9d2ff3e6e44 /test/security
parent9b151c6616c0e718edd9955e1c3e9597a5cbbc5e (diff)
Add MANIFEST.in to include j2 file in the python package
Not sure it is the best way, maybe it can be done with setup.cfg.. it seems to be OK Issue-ID: INT-1570 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I7a1ddefba0ec0bbe35a5a51baebdf4a715a4f131 Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'test/security')
-rw-r--r--test/security/check_certificates/MANIFEST.in2
-rw-r--r--test/security/check_certificates/setup.cfg5
-rw-r--r--test/security/check_certificates/setup.py3
3 files changed, 4 insertions, 6 deletions
diff --git a/test/security/check_certificates/MANIFEST.in b/test/security/check_certificates/MANIFEST.in
new file mode 100644
index 000000000..c76e9befb
--- /dev/null
+++ b/test/security/check_certificates/MANIFEST.in
@@ -0,0 +1,2 @@
+include check_certificates/nodeports_xfail.txt
+include check_certificates/templates/*.j2
diff --git a/test/security/check_certificates/setup.cfg b/test/security/check_certificates/setup.cfg
index 37be07c9d..72966f837 100644
--- a/test/security/check_certificates/setup.cfg
+++ b/test/security/check_certificates/setup.cfg
@@ -1,8 +1,3 @@
[metadata]
name = check_certificates
version = 0.1
-
-[files]
-packages = check_certificates
-scripts =
- check_certificates/nodeports_xfail.txt
diff --git a/test/security/check_certificates/setup.py b/test/security/check_certificates/setup.py
index 9a370e270..f5154f282 100644
--- a/test/security/check_certificates/setup.py
+++ b/test/security/check_certificates/setup.py
@@ -1,4 +1,5 @@
import setuptools
setuptools.setup(
setup_requires=['pbr', 'setuptools'],
- pbr=True)
+ pbr=True,
+ include_package_data=True)