Skip to content

Commit b6d6a51

Browse files
committed
BF: package_data - restrict to *.dcm files to not match directories
On older systems, setuptools puke on directories
1 parent 7a60c0d commit b6d6a51

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ def findsome(subdir, extensions):
5555
install_requires=ldict['REQUIRES'],
5656
extras_require=ldict['EXTRA_REQUIRES'],
5757
package_data={
58-
'heudiconv.tests': [op.join('data', '*'), op.join('data', '*', '*')],
58+
'heudiconv.tests': [
59+
op.join('data', '*.dcm'),
60+
op.join('data', '*', '*.dcm')
61+
],
5962
}
6063
)
6164

0 commit comments

Comments
 (0)