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 <dradez@redhat.com>
This commit is contained in:
Dan Radez 2016-12-19 20:40:45 -05:00
parent 98f363630a
commit c99e36dcab

View File

@ -26,4 +26,6 @@ except ImportError:
setuptools.setup(
setup_requires=['pbr>=1.8'],
include_package_data=True,
package_data={"translator": ["conf/*.conf"]},
pbr=True)