[Scipy-svn] r3084 - in trunk/Lib/sandbox/pyem: . data

scipy-svn@scip... scipy-svn@scip...
Sat Jun 9 03:38:13 CDT 2007


Author: cdavid
Date: 2007-06-09 03:37:59 -0500 (Sat, 09 Jun 2007)
New Revision: 3084

Added:
   trunk/Lib/sandbox/pyem/data/setup.py
Modified:
   trunk/Lib/sandbox/pyem/setup.py
Log:
Add data as a proper submodule

Added: trunk/Lib/sandbox/pyem/data/setup.py
===================================================================
--- trunk/Lib/sandbox/pyem/data/setup.py	2007-06-09 08:11:46 UTC (rev 3083)
+++ trunk/Lib/sandbox/pyem/data/setup.py	2007-06-09 08:37:59 UTC (rev 3084)
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+
+def configuration(parent_package='',top_path=None):
+    from numpy.distutils.misc_util import Configuration
+    config = Configuration('data',parent_package,top_path)
+    config.add_subpackage('oldfaithful')
+    config.make_config_py() # installs __config__.py
+    return config
+
+if __name__ == '__main__':
+    print 'This is the wrong setup.py file to run'

Modified: trunk/Lib/sandbox/pyem/setup.py
===================================================================
--- trunk/Lib/sandbox/pyem/setup.py	2007-06-09 08:11:46 UTC (rev 3083)
+++ trunk/Lib/sandbox/pyem/setup.py	2007-06-09 08:37:59 UTC (rev 3084)
@@ -1,5 +1,5 @@
 #! /usr/bin/env python
-# Last Change: Fri Jun 01 05:00 PM 2007 J
+# Last Change: Sat Jun 09 05:00 PM 2007 J
 # TODO:
 #   - check how to handle cmd line build options with distutils and use
 #   it in the building process
@@ -28,6 +28,7 @@
     from numpy.distutils.misc_util import Configuration
     config = Configuration(package_name,parent_package,top_path,
              version     = VERSION)
+    config.add_subpackage('data')
     config.add_data_dir('tests')
     config.add_data_dir('profile_data')
     config.add_extension('c_gden',



More information about the Scipy-svn mailing list