[Numpy-svn] r4453 - in branches/numpy.scons/numpy/distutils/scons: core doc

numpy-svn@scip... numpy-svn@scip...
Tue Nov 13 10:16:03 CST 2007


Author: cdavid
Date: 2007-11-13 10:15:56 -0600 (Tue, 13 Nov 2007)
New Revision: 4453

Modified:
   branches/numpy.scons/numpy/distutils/scons/core/numpyenv.py
   branches/numpy.scons/numpy/distutils/scons/doc/TODO
Log:
Update TODO, fix get_build_relative_src for subpackage build

Modified: branches/numpy.scons/numpy/distutils/scons/core/numpyenv.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/core/numpyenv.py	2007-11-13 14:37:25 UTC (rev 4452)
+++ branches/numpy.scons/numpy/distutils/scons/core/numpyenv.py	2007-11-13 16:15:56 UTC (rev 4453)
@@ -231,7 +231,7 @@
     # of occureant of the path separator in the src dir.
     def get_build_relative_src(srcdir, builddir):
         n = srcdir.count(os.sep)
-        if len(srcdir):
+        if len(srcdir) > 0 and not srcdir == '.':
             n += 1
         return pjoin(os.sep.join([os.pardir for i in range(n)]), builddir)
     sconsign = pjoin(get_build_relative_src(env['src_dir'], 

Modified: branches/numpy.scons/numpy/distutils/scons/doc/TODO
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/doc/TODO	2007-11-13 14:37:25 UTC (rev 4452)
+++ branches/numpy.scons/numpy/distutils/scons/doc/TODO	2007-11-13 16:15:56 UTC (rev 4453)
@@ -1,19 +1,12 @@
-Before first beta:
-    - f2py and scipy interoperability: N hours ?
+Things to implement / problems to solve:
+    - f2py interoperability ?
+    - fortran compiler optimization / option (underscore and so on)
 
-Design questions:
-    - improve BrokenMathlib and Mathlib in core, and make them available to
-      everyone
-    - overriding compilation flags: env variables, site.cfg ? (autotools
-      convention ?)
-
 Builder:
     - Get a PythonExtension builder independant of distutils for upstream
       integration
     - Get a CtypesExtension builder independant of distutils for upstream
       integration
-    - Generic Api builders (with dep tracking)
-    - Generic FromTemplate builder (with dep tracking)
 
 Tests:
     - What can be tested ?
@@ -24,6 +17,11 @@
     - improve Fortran mangling and dummy main detection for upstream
       integration
 
+Not so important things:
+    - improve BrokenMathlib and Mathlib in core, and make them available to
+      everyone
+    - Generic Api builders (with dep tracking)
+    - Generic FromTemplate builder (with dep tracking)
 
 Documentation:
     - scons / distutils integration, global design (BuildDir, directories, etc...)



More information about the Numpy-svn mailing list