[Numpy-svn] r4054 - in branches/numpy.scons: . numpy/distutils numpy/distutils/command

numpy-svn@scip... numpy-svn@scip...
Thu Sep 20 03:32:34 CDT 2007


Author: cdavid
Date: 2007-09-20 03:32:14 -0500 (Thu, 20 Sep 2007)
New Revision: 4054

Added:
   branches/numpy.scons/numpy/distutils/command/scons.py
Modified:
   branches/numpy.scons/
   branches/numpy.scons/numpy/distutils/command/__init__.py
   branches/numpy.scons/numpy/distutils/core.py
Log:
Add a fake scons command (does nothing for now)


Property changes on: branches/numpy.scons
___________________________________________________________________
Name: bzr:revision-info
   + timestamp: 2007-09-20 17:09:08.556999922 +0900
committer: david <david@david-laptop>
properties: 
	branch-nick: numpy.scons

Name: bzr:file-ids
   + numpy/distutils/command/scons.py	scons.py-20070920080716-xuge6qwroc9z4jhc-1

Name: bzr:revision-id:v3-trunk0
   + 3737 david@david-laptop-20070920080908-n8pj8vmszdir3zoa


Modified: branches/numpy.scons/numpy/distutils/command/__init__.py
===================================================================
--- branches/numpy.scons/numpy/distutils/command/__init__.py	2007-09-20 06:45:23 UTC (rev 4053)
+++ branches/numpy.scons/numpy/distutils/command/__init__.py	2007-09-20 08:32:14 UTC (rev 4054)
@@ -27,5 +27,6 @@
            'install_data',
            'install_headers',
            'bdist_rpm',
+           'scons',
            'sdist',
           ] + distutils_all

Added: branches/numpy.scons/numpy/distutils/command/scons.py
===================================================================
--- branches/numpy.scons/numpy/distutils/command/scons.py	2007-09-20 06:45:23 UTC (rev 4053)
+++ branches/numpy.scons/numpy/distutils/command/scons.py	2007-09-20 08:32:14 UTC (rev 4054)
@@ -0,0 +1,15 @@
+from distutils.core import Command
+
+class scons(Command):
+    description = "Scons builder"
+    user_options = []
+
+    def initialize_options(self):
+        pass
+
+    def finalize_options(self):
+        pass
+
+    def run(self):
+        pass
+            

Modified: branches/numpy.scons/numpy/distutils/core.py
===================================================================
--- branches/numpy.scons/numpy/distutils/core.py	2007-09-20 06:45:23 UTC (rev 4053)
+++ branches/numpy.scons/numpy/distutils/core.py	2007-09-20 08:32:14 UTC (rev 4054)
@@ -23,7 +23,7 @@
 from numpy.distutils.extension import Extension
 from numpy.distutils.command import config, config_compiler, \
      build, build_py, build_ext, build_clib, build_src, build_scripts, \
-     sdist, install_data, install_headers, install, bdist_rpm
+     sdist, install_data, install_headers, install, bdist_rpm, scons
 from numpy.distutils.misc_util import get_data_files, is_sequence, is_string
 
 numpy_cmdclass = {'build':            build.build,
@@ -36,6 +36,7 @@
                   'build_py':         build_py.build_py,
                   'build_clib':       build_clib.build_clib,
                   'sdist':            sdist.sdist,
+                  'scons':            scons.scons,
                   'install_data':     install_data.install_data,
                   'install_headers':  install_headers.install_headers,
                   'install':          install.install,



More information about the Numpy-svn mailing list