Skip to content

Commit b09499d

Browse files
committed
fix: diffusion imports in slicer
1 parent 85bc973 commit b09499d

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
2+
# vi: set ft=python sts=4 ts=4 sw=4 et:
3+
def configuration(parent_package='',top_path=None):
4+
from numpy.distutils.misc_util import Configuration
5+
6+
config = Configuration('legacy', parent_package, top_path)
7+
8+
config.add_data_dir('diffusion')
9+
10+
return config
11+
12+
if __name__ == '__main__':
13+
from numpy.distutils.core import setup
14+
setup(**configuration(top_path='').todict())

nipype/interfaces/slicer/setup.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
2+
# vi: set ft=python sts=4 ts=4 sw=4 et:
3+
def configuration(parent_package='',top_path=None):
4+
from numpy.distutils.misc_util import Configuration
5+
6+
config = Configuration('slicer', parent_package, top_path)
7+
8+
config.add_data_dir('diffusion')
9+
config.add_data_dir('filtering')
10+
config.add_data_dir('legacy')
11+
config.add_data_dir('segmentation')
12+
13+
return config
14+
15+
if __name__ == '__main__':
16+
from numpy.distutils.core import setup
17+
setup(**configuration(top_path='').todict())

0 commit comments

Comments
 (0)