[Scipy-svn] r3404 - trunk/scipy/io

scipy-svn@scip... scipy-svn@scip...
Thu Oct 4 02:05:20 CDT 2007


Author: jarrod.millman
Date: 2007-10-04 02:05:17 -0500 (Thu, 04 Oct 2007)
New Revision: 3404

Modified:
   trunk/scipy/io/__init__.py
   trunk/scipy/io/setup.py
Log:
adding nifti to scipy.io setup and init


Modified: trunk/scipy/io/__init__.py
===================================================================
--- trunk/scipy/io/__init__.py	2007-10-04 06:00:05 UTC (rev 3403)
+++ trunk/scipy/io/__init__.py	2007-10-04 07:05:17 UTC (rev 3404)
@@ -16,6 +16,7 @@
 from array_import import *
 from data_store import *
 from pickler import *
+from scipy.io.nifti import NiftiImage
 
 from mmio import mminfo,mmread,mmwrite
 

Modified: trunk/scipy/io/setup.py
===================================================================
--- trunk/scipy/io/setup.py	2007-10-04 06:00:05 UTC (rev 3403)
+++ trunk/scipy/io/setup.py	2007-10-04 07:05:17 UTC (rev 3404)
@@ -3,8 +3,12 @@
 def configuration(parent_package='',top_path=None):
     from numpy.distutils.misc_util import Configuration
     config = Configuration('io', parent_package, top_path)
+
+    config.add_subpackage('nifti')
+
     config.add_extension('numpyio',
                          sources = ['numpyiomodule.c'])
+
     config.add_data_dir('tests')
     config.add_data_dir('examples')
     config.add_data_dir('docs')



More information about the Scipy-svn mailing list