Skip to content

Commit 9e73cc8

Browse files
jvcarliLazarin
authored and
Lazarin
committed
[FIX] Fix 'data_files' syntax in setup.py
1 parent 11eb03f commit 9e73cc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"""
1111

1212
from setuptools import setup
13+
from glob import glob
1314

1415
with open("README.md", "r") as f:
1516
long_description = f.read()
@@ -28,7 +29,7 @@
2829
'install_requires': ['numpy', 'scipy', 'matplotlib',
2930
'sounddevice', 'soundfile', 'h5py', 'numba'],
3031
'packages': ['pytta', 'pytta.classes', 'pytta.apps', 'pytta.utils'],
31-
'data_files': [('examples', ['examples/*.py'])],
32+
'data_files': [('examples', glob('examples/*'))],
3233
# 'package_dir': {'classes': 'pytta'},
3334
'classifiers': [
3435
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)