From a8e784ef4efecae8757d83822e16c4e72f5bec37 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 19 Nov 2020 19:29:55 +0100 Subject: [PATCH] Declare package data in setup.py --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f2c27bc..dfb15ef 100644 --- a/setup.py +++ b/setup.py @@ -32,8 +32,7 @@ setup( ], python_requires='>=3.6', include_package_data=True, - data_files=["squirrelbattle/assets/" + file - for file in os.listdir("squirrelbattle/assets")], + package_data={"squirrelbattle": ["assets/*"]}, entry_points={ "console_scripts": [ "squirrel-battle = squirrelbattle.bootstrap:Bootstrap.run_game",