From 6f6c98b8c34fe8fccc886d237bd317b57fda2074 Mon Sep 17 00:00:00 2001 From: Jasper van Nieuwenhuizen Date: Thu, 29 Nov 2018 16:22:37 +0100 Subject: [PATCH] Include image data files --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3e93faa..6fe242d 100644 --- a/setup.py +++ b/setup.py @@ -78,7 +78,8 @@ def run(self): author='Jasper van Nieuwenhuizen', author_email='jasper@linesofjasper.com', packages=find_packages('.'), - data_files=[('pose_thumbnails', ['README.md', 'CHANGELOG.md'])], + package_data={'pose_thumbnails': ['README.md', 'CHANGELOG.md', 'thumbnails/*.png']}, + include_package_data=True, scripts=[], url='https://github.com/jasperges/pose-thumbnails', license='GNU General Public License v2 or later (GPLv2+)',