I'm having trouble getting my non-py files and folders into the installed program. Nothing seems to work, only .py files appear in the install directory. I'm installing my python program via pip3 install .
My setup.py:
from setuptools import setup
setup(
name='pet_project',
version='0.1',
license='MIT',
long_description=open('README.md').read(),
packages=['pet_project'],
package_data={
'pet_project': [
'py.typed',
'data/**',
'node_modules/**',
'package.json'
],
'js_components':['*.js'],
'node_modules':['**'],
'':['data']
},
entry_points={
'console_scripts':['pet_project=pet_project.__main__:main']
}
)
My project structure:
|__pet_project
| |__ .py files
|
|__js_components
|. |__ .js files
|
|__node_modules
|__package.json
|__data
What am I doing wrong?