Difference between revisions of "NumPy"

From CBLFS
Jump to navigationJump to search
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
 
Install the package
 
Install the package
  
  python setup.py --prefix=/usr install
+
  python setup.py install --prefix=/usr
  
 
== Multilib ==
 
== Multilib ==
Line 34: Line 34:
 
Install the package
 
Install the package
  
  USE_ARCH=32 python setup.py --prefix=/usr install
+
  USE_ARCH=32 python setup.py install --prefix=/usr
  
 
=== N32 ===
 
=== N32 ===
Line 44: Line 44:
 
Install the package
 
Install the package
  
  USE_ARCH=n32 python setup.py --prefix=/usr install
+
  USE_ARCH=n32 python setup.py install --prefix=/usr
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 54: Line 54:
 
Install the package
 
Install the package
  
  USE_ARCH=64 python setup.py --prefix=/usr install
+
  USE_ARCH=64 python setup.py install --prefix=/usr
  
 
== Contents ==
 
== Contents ==
Line 77: Line 77:
 
|is a program generates a Python C/API file (<modulename>module.c) that contains wrappers for given fortran functions so that they can be called from Python.
 
|is a program generates a Python C/API file (<modulename>module.c) that contains wrappers for given fortran functions so that they can be called from Python.
 
|}
 
|}
 +
 +
[[Category:Python Modules]]

Latest revision as of 09:21, 19 October 2010

Download Source: http://downloads.sourceforge.net/numpy/numpy-1.3.0.tar.gz

Introduction to NumPy

NumPy is the fundamental package for scientific computing with Python. It replaces Numeric.

Project Homepage: http://numpy.scipy.org

Dependencies

Required

Non-Multilib

Compile the package:

python setup.py build

Install the package

python setup.py install --prefix=/usr

Multilib

32Bit

Compile the package:

USE_ARCH=32 python setup.py build

Install the package

USE_ARCH=32 python setup.py install --prefix=/usr

N32

Compile the package:

USE_ARCH=n32 python setup.py build

Install the package

USE_ARCH=n32 python setup.py install --prefix=/usr

64Bit

Compile the package:

USE_ARCH=64 python setup.py build

Install the package

USE_ARCH=64 python setup.py install --prefix=/usr

Contents

Installed Directories: /usr/lib/python2.5/site-packages/numpy
Installed Programs: f2py
Installed Libraries: None

Short Descriptions

f2py is a program generates a Python C/API file (<modulename>module.c) that contains wrappers for given fortran functions so that they can be called from Python.
Retrieved from "?title=NumPy&oldid=20360"