From c99e36dcab22a4852dc25a0a7929f2c47408afd1 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Mon, 19 Dec 2016 20:40:45 -0500 Subject: [PATCH] Adding conf files as package data I've been packaging this python module and found that setup.py was not including the conf files in translator/conf/ and could not use it without these files to generate the tacker.conf file with oslo gen config. Adding those files to the setup.py file so that a setup.py install will include them when the installation is done. Change-Id: Ifda75a9167aaceb51dfafe32f28ee47d6f8a4e0b Signed-off-by: Dan Radez --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 782bb21f..207cd857 100644 --- a/setup.py +++ b/setup.py @@ -26,4 +26,6 @@ except ImportError: setuptools.setup( setup_requires=['pbr>=1.8'], + include_package_data=True, + package_data={"translator": ["conf/*.conf"]}, pbr=True)