[Numpy-svn] r4262 - branches/numpy.scons/numpy

numpy-svn@scip... numpy-svn@scip...
Sat Oct 20 07:49:20 CDT 2007


Author: cdavid
Date: 2007-10-20 07:49:15 -0500 (Sat, 20 Oct 2007)
New Revision: 4262

Modified:
   branches/numpy.scons/numpy/setupscons.py
Log:
Add fake extension to fool distutils.

Modified: branches/numpy.scons/numpy/setupscons.py
===================================================================
--- branches/numpy.scons/numpy/setupscons.py	2007-10-20 10:03:03 UTC (rev 4261)
+++ branches/numpy.scons/numpy/setupscons.py	2007-10-20 12:49:15 UTC (rev 4262)
@@ -16,6 +16,11 @@
     config.add_subpackage('random')
     config.add_data_dir('doc')
     config.add_data_dir('tests')
+    # The following empty extension is done on purpose to fool distutils, and
+    # process as usual, even if we do not build any extension (because we use
+    # scons instead).
+    # !! DO NOT REMOVE THIS !!
+    config.add_extension('', sources = [])
     config.make_config_py() # installs __config__.py
     return config
 



More information about the Numpy-svn mailing list