Declare package data in setup.py

This commit is contained in:
Yohann D'ANELLO 2020-11-19 19:29:55 +01:00
parent 2e95edab83
commit a8e784ef4e
1 changed files with 1 additions and 2 deletions

View File

@ -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",