We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee871ba commit e3ecf75Copy full SHA for e3ecf75
setup.py
@@ -283,6 +283,10 @@ def _package_status(pkg_name, version, version_getter, checker):
283
284
285
def main(**extra_args):
286
+ thispath, _ = os.path.split(__file__)
287
+ testdatafiles = [pjoin('testing', 'data', val)
288
+ for val in os.listdir(pjoin(thispath, 'nipype', 'testing', 'data'))
289
+ if not os.path.isdir(pjoin(thispath, 'nipype', 'testing', 'data', val))]
290
setup(name=NAME,
291
maintainer=MAINTAINER,
292
maintainer_email=MAINTAINER_EMAIL,
@@ -424,7 +428,7 @@ def main(**extra_args):
424
428
# python -- duplicating things into MANIFEST.in but this is admittedly
425
429
# only a workaround to get things started -- not a solution
426
430
package_data={'nipype':
427
- [pjoin('testing', 'data', '*'),
431
+ testdatafiles + [
432
pjoin('testing', 'data', 'dicomdir', '*'),
433
pjoin('testing', 'data', 'bedpostxout', '*'),
434
pjoin('testing', 'data', 'tbss_dir', '*'),
0 commit comments