[Scipy-svn] r2759 - trunk/Lib/sandbox/timeseries

scipy-svn@scip... scipy-svn@scip...
Fri Feb 23 15:20:23 CST 2007


Author: mattknox_ca
Date: 2007-02-23 15:20:19 -0600 (Fri, 23 Feb 2007)
New Revision: 2759

Modified:
   trunk/Lib/sandbox/timeseries/setup.py
Log:
removed references to mx.DateTime

Modified: trunk/Lib/sandbox/timeseries/setup.py
===================================================================
--- trunk/Lib/sandbox/timeseries/setup.py	2007-02-23 20:46:24 UTC (rev 2758)
+++ trunk/Lib/sandbox/timeseries/setup.py	2007-02-23 21:20:19 UTC (rev 2759)
@@ -6,23 +6,14 @@
 import os
 from os.path import join
 
-def check_mxDateTime():
-    try: 
-        import mx.DateTime
-    except ImportError: 
-        raise ImportError,"mx.DateTime should already be installed !"
-    else: 
-        return os.path.dirname(mx.DateTime.mxDateTime.__file__)
-
 def configuration(parent_package='',top_path=None):
     from numpy.distutils.misc_util import Configuration, get_numpy_include_dirs
     nxheader = join(get_numpy_include_dirs()[0],'numpy',)
-    mxlib = check_mxDateTime()
     confgr = Configuration('timeseries',parent_package,top_path)
     sources = join('src', 'cseries.c')
     confgr.add_extension('cseries',
                          sources=[sources,],
-                         include_dirs=[mxlib, nxheader],
+                         include_dirs=[nxheader],
                          )
     confgr.add_data_dir('doc')
     confgr.add_data_dir('examples')



More information about the Scipy-svn mailing list