From b6d6a51efc334cb79979ed5f504b0e51bd406e6b Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 4 Jan 2019 22:49:40 -0500 Subject: [PATCH] BF: package_data - restrict to *.dcm files to not match directories On older systems, setuptools puke on directories --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 46b838fd..6017447a 100755 --- a/setup.py +++ b/setup.py @@ -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') + ], } )