Skip to content

Commit

Permalink
[FIX] Fix 'data_files' syntax in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jvcarli authored and Lazarin committed Dec 1, 2020
1 parent 11eb03f commit 9e73cc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"""

from setuptools import setup
from glob import glob

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

0 comments on commit 9e73cc8

Please sign in to comment.