Skip to content

Commit

Permalink
Merge pull request #38 from marmig0404/main
Browse files Browse the repository at this point in the history
include data files as package data
  • Loading branch information
Pbatch committed Jun 28, 2022
2 parents 392f915 + fa9d466 commit ce8735e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ clashroyalebuildabot/data/screenshots
.venv
.vscode
*.egg-info
dist/
build/
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import os
from setuptools import setup, find_packages

# define long description with readme text
with open("README.md", "r", encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()

# get github workflow env vars
# get tag name for versioning for CI or dev for otherwise
try:
version = (os.environ['GIT_TAG_NAME']).replace('v', '')
except KeyError:
Expand All @@ -27,6 +28,8 @@
"onnxruntime",
],
packages=find_packages(),
include_package_data=True,
package_data={'clashroyalebuildabot.data': ["images/*/*.png", "*.csv", "*.onnx"]},
python_requires='>=3.6',
zip_safe=False,
classifiers=[
Expand Down

0 comments on commit ce8735e

Please sign in to comment.