Add MANIFEST.in to include j2 file in the python package 95/111695/2
authormrichomme <morgan.richomme@orange.com>
Tue, 25 Aug 2020 15:27:05 +0000 (17:27 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Wed, 26 Aug 2020 14:39:40 +0000 (14:39 +0000)
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>
test/security/check_certificates/MANIFEST.in [new file with mode: 0644]
test/security/check_certificates/setup.cfg
test/security/check_certificates/setup.py

diff --git a/test/security/check_certificates/MANIFEST.in b/test/security/check_certificates/MANIFEST.in
new file mode 100644 (file)
index 0000000..c76e9be
--- /dev/null
@@ -0,0 +1,2 @@
+include check_certificates/nodeports_xfail.txt
+include check_certificates/templates/*.j2
index 37be07c..72966f8 100644 (file)
@@ -1,8 +1,3 @@
 [metadata]
 name = check_certificates
 version = 0.1
-
-[files]
-packages = check_certificates
-scripts =
-    check_certificates/nodeports_xfail.txt
index 9a370e2..f5154f2 100644 (file)
@@ -1,4 +1,5 @@
 import setuptools
 setuptools.setup(
     setup_requires=['pbr', 'setuptools'],
-    pbr=True)
+    pbr=True,
+    include_package_data=True)