@@ -63,6 +63,7 @@ def main(**extra_args):
63
63
platforms = PLATFORMS ,
64
64
version = VERSION ,
65
65
requires = REQUIRES ,
66
+ provides = PROVIDES ,
66
67
packages = ['nibabel' ,
67
68
'nibabel.externals' ,
68
69
'nibabel.gifti' ,
@@ -73,16 +74,16 @@ def main(**extra_args):
73
74
# required in setup.py, hence needs to go into source
74
75
# dist
75
76
'nisext' ],
76
- # this has no effect for me (on python 2.6) -- even changing to
77
- # data_files doesn't get this stuff included in the source
77
+ # The package_data spec has no effect for me (on python 2.6) -- even
78
+ # changing to data_files doesn't get this stuff included in the source
78
79
# distribution -- not sure if it has something to do with the magic
79
80
# above, but distutils is surely the worst piece of code in all of
80
- # python -- moving things into MANIFEST.in but this is admittedly
81
+ # python -- duplicating things into MANIFEST.in but this is admittedly
81
82
# only a workaround to get things started -- not a solution
82
- # package_data = {'nibabel':
83
- # [pjoin('tests', 'data', '*'),
84
- # pjoin('nicom', 'tests', 'data', '*'),
85
- # ]},
83
+ package_data = {'nibabel' :
84
+ [pjoin ('tests' , 'data' , '*' ),
85
+ pjoin ('nicom' , 'tests' , 'data' , '*' ),
86
+ ]},
86
87
scripts = [pjoin ('bin' , 'parrec2nii' )],
87
88
cmdclass = cmdclass ,
88
89
** extra_args
0 commit comments