Difference between revisions of "NumPy"

From CBLFS
Jump to navigationJump to search
 
(2 intermediate revisions by one other user not shown)
Line 18: Line 18:
 
Compile the package:
 
Compile the package:
  
  python setup.py --prefix=/usr build
+
  python setup.py build
  
 
Install the package
 
Install the package
  
  python setup.py --prefix=/usr install
+
  python setup.py install --prefix=/usr
  
 
== Multilib ==
 
== Multilib ==
Line 30: Line 30:
 
Compile the package:
 
Compile the package:
  
  USE_ARCH=32 python setup.py --prefix=/usr build
+
  USE_ARCH=32 python setup.py build
  
 
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 40: Line 40:
 
Compile the package:
 
Compile the package:
  
  USE_ARCH=n32 python setup.py --prefix=/usr build
+
  USE_ARCH=n32 python setup.py build
  
 
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 50: Line 50:
 
Compile the package:
 
Compile the package:
  
  USE_ARCH=64 python setup.py --prefix=/usr build
+
  USE_ARCH=64 python setup.py build
  
 
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 10: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.