summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-06-12 23:13:30 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-06-12 23:13:30 +0000
commit6408d0d38af09323b9192d0185f8435060e4e93a (patch)
tree838146fbd56c9eab52d04c5ee374f631b44bb982 /numpy/oldnumeric
parentfbf0b479604c22e60215bb28cdedabfb821b9d75 (diff)
downloadnumpy-6408d0d38af09323b9192d0185f8435060e4e93a.tar.gz
Fix-up oldnumeric module
Diffstat (limited to 'numpy/oldnumeric')
-rw-r--r--numpy/oldnumeric/__init__.py15
-rw-r--r--numpy/oldnumeric/setup.py8
2 files changed, 23 insertions, 0 deletions
diff --git a/numpy/oldnumeric/__init__.py b/numpy/oldnumeric/__init__.py
new file mode 100644
index 000000000..768b407df
--- /dev/null
+++ b/numpy/oldnumeric/__init__.py
@@ -0,0 +1,15 @@
+
+from numpy import *
+from compat import *
+
+import numpy
+import compat
+
+__version__ = numpy.__version__
+
+__all__ = ['__version__']
+__all__ += numpy.__all__
+__all__ += compat.__all__
+
+del numpy
+del compat
diff --git a/numpy/oldnumeric/setup.py b/numpy/oldnumeric/setup.py
new file mode 100644
index 000000000..9526e51b4
--- /dev/null
+++ b/numpy/oldnumeric/setup.py
@@ -0,0 +1,8 @@
+
+def configuration(parent_package='',top_path=None):
+ from numpy.distutils.misc_util import Configuration
+ return Configuration('oldnumeric',parent_package,top_path)
+
+if __name__ == '__main__':
+ from numpy.distutils.core import setup
+ setup(**configuration(top_path='').todict())