I have some data and config file in the project root folder(same as setup.py) and I want to add them to the wheel build as package data. So my setup.py looks like below:
from setuptools import find_packages, setup
setup(
name="dbx_test",
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
package_data={
"": ["config.yaml",
"secrets.txt"
]
},
setup_requires=["wheel"],
entry_points={
"console_scripts": [
"main = src.main:main",
],
},
version="0.0.1",
description="",
author="",
)
But, the wheel build is not able to pick up the secrets and config file from the root. How would I be able to do that?