[Scipy-svn] r3202 - in trunk/Lib/sandbox: ann pyem

scipy-svn@scip... scipy-svn@scip...
Fri Jul 27 04:42:44 CDT 2007


Author: cdavid
Date: 2007-07-27 04:42:36 -0500 (Fri, 27 Jul 2007)
New Revision: 3202

Modified:
   trunk/Lib/sandbox/ann/__init__.py
   trunk/Lib/sandbox/pyem/__init__.py
Log:
Deprecate pyem and ann

Modified: trunk/Lib/sandbox/ann/__init__.py
===================================================================
--- trunk/Lib/sandbox/ann/__init__.py	2007-07-27 06:56:52 UTC (rev 3201)
+++ trunk/Lib/sandbox/ann/__init__.py	2007-07-27 09:42:36 UTC (rev 3202)
@@ -2,5 +2,14 @@
 # Fred Mailhot
 # 2006-06-13
 
+raise ImportError(
+"""ann has been moved to scikits. Please install
+scikits.learn instead, and change your import to the following:
+
+from scickits.learn.machine import ann.
+
+For informations about scikits, see:
+http://projects.scipy.org/scipy/scikits/""")
+
 __all__ = ['mlp','srn','rbf']
 

Modified: trunk/Lib/sandbox/pyem/__init__.py
===================================================================
--- trunk/Lib/sandbox/pyem/__init__.py	2007-07-27 06:56:52 UTC (rev 3201)
+++ trunk/Lib/sandbox/pyem/__init__.py	2007-07-27 09:42:36 UTC (rev 3202)
@@ -1,12 +1,15 @@
 #! /usr/bin/env python
-# Last Change: Sun Jul 22 11:00 AM 2007 J
+# Last Change: Fri Jul 27 12:00 PM 2007 J
 
 raise ImportError(
 """pyem has been moved to scikits and renamed to em. Please install
 scikits.learn instead, and change your import to the following:
 
-from scickits.learn.machine import em.""")
+from scickits.learn.machine import em.
 
+For informations about scikits, see:
+http://projects.scipy.org/scipy/scikits/""")
+
 from info import __doc__
 
 from gauss_mix import GmParamError, GM



More information about the Scipy-svn mailing list