[Scipy-svn] r4525 - in trunk/scipy/sandbox/mkufunc: examples mkufunc

scipy-svn@scip... scipy-svn@scip...
Wed Jul 2 20:11:44 CDT 2008


Author: ilan
Date: 2008-07-02 20:11:42 -0500 (Wed, 02 Jul 2008)
New Revision: 4525

Modified:
   trunk/scipy/sandbox/mkufunc/examples/primes.py
   trunk/scipy/sandbox/mkufunc/mkufunc/test_func_hash.py
   trunk/scipy/sandbox/mkufunc/mkufunc/test_mkufunc.py
Log:
Changed imports

Modified: trunk/scipy/sandbox/mkufunc/examples/primes.py
===================================================================
--- trunk/scipy/sandbox/mkufunc/examples/primes.py	2008-07-02 23:37:48 UTC (rev 4524)
+++ trunk/scipy/sandbox/mkufunc/examples/primes.py	2008-07-03 01:11:42 UTC (rev 4525)
@@ -1,11 +1,8 @@
 #!/usr/bin/env python
-import sys
-sys.path.append('../mkufunc')
-
 from math import sqrt
 import time
 
-from api import mkufunc
+from mkufunc.api import mkufunc
 
 
 def count_primes(N):

Modified: trunk/scipy/sandbox/mkufunc/mkufunc/test_func_hash.py
===================================================================
--- trunk/scipy/sandbox/mkufunc/mkufunc/test_func_hash.py	2008-07-02 23:37:48 UTC (rev 4524)
+++ trunk/scipy/sandbox/mkufunc/mkufunc/test_func_hash.py	2008-07-03 01:11:42 UTC (rev 4525)
@@ -1,6 +1,6 @@
 import unittest
 
-from api import func_hash
+from mkufunc.api import func_hash
 
 
 class Tests(unittest.TestCase):

Modified: trunk/scipy/sandbox/mkufunc/mkufunc/test_mkufunc.py
===================================================================
--- trunk/scipy/sandbox/mkufunc/mkufunc/test_mkufunc.py	2008-07-02 23:37:48 UTC (rev 4524)
+++ trunk/scipy/sandbox/mkufunc/mkufunc/test_mkufunc.py	2008-07-03 01:11:42 UTC (rev 4525)
@@ -3,7 +3,7 @@
 
 from numpy import array, arange, allclose
 
-from api import Cfunc, genufunc, mkufunc
+from mkufunc.api import Cfunc, genufunc, mkufunc
 
 
 class Util:



More information about the Scipy-svn mailing list