Skip to content

Commit

Permalink
BF: package_data - restrict to *.dcm files to not match directories
Browse files Browse the repository at this point in the history
On older systems, setuptools puke on directories
  • Loading branch information
yarikoptic committed Jan 5, 2019
1 parent 7a60c0d commit b6d6a51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ def findsome(subdir, extensions):
install_requires=ldict['REQUIRES'],
extras_require=ldict['EXTRA_REQUIRES'],
package_data={
'heudiconv.tests': [op.join('data', '*'), op.join('data', '*', '*')],
'heudiconv.tests': [
op.join('data', '*.dcm'),
op.join('data', '*', '*.dcm')
],
}
)

Expand Down

0 comments on commit b6d6a51

Please sign in to comment.