[Numpy-svn] r4353 - in branches/numpy.scons/numpy/scons_fake: ctypesext pyext

numpy-svn@scip... numpy-svn@scip...
Tue Oct 30 03:21:38 CDT 2007


Author: cdavid
Date: 2007-10-30 03:21:33 -0500 (Tue, 30 Oct 2007)
New Revision: 4353

Modified:
   branches/numpy.scons/numpy/scons_fake/ctypesext/setup.py
   branches/numpy.scons/numpy/scons_fake/pyext/setup.py
Log:
Register source files of numpy.scons_fake to distutils

Modified: branches/numpy.scons/numpy/scons_fake/ctypesext/setup.py
===================================================================
--- branches/numpy.scons/numpy/scons_fake/ctypesext/setup.py	2007-10-30 08:21:18 UTC (rev 4352)
+++ branches/numpy.scons/numpy/scons_fake/ctypesext/setup.py	2007-10-30 08:21:33 UTC (rev 4353)
@@ -5,7 +5,7 @@
     from numpy.distutils.misc_util import Configuration
     config = Configuration('ctypesext',parent_package,top_path)
 
-    config.add_sconscript('SConstruct')
+    config.add_sconscript('SConstruct', source_files = ['foo.c'])
     config.add_data_dir('tests')
     return config
 

Modified: branches/numpy.scons/numpy/scons_fake/pyext/setup.py
===================================================================
--- branches/numpy.scons/numpy/scons_fake/pyext/setup.py	2007-10-30 08:21:18 UTC (rev 4352)
+++ branches/numpy.scons/numpy/scons_fake/pyext/setup.py	2007-10-30 08:21:33 UTC (rev 4353)
@@ -5,7 +5,7 @@
     from numpy.distutils.misc_util import Configuration
     config = Configuration('pyext',parent_package,top_path)
 
-    config.add_sconscript('SConstruct')
+    config.add_sconscript('SConstruct', source_files = ['hellomodule.c'])
     config.add_data_dir('tests')
     return config
 



More information about the Numpy-svn mailing list