Difference between revisions of "NumPy"

From CBLFS
Jump to navigationJump to search
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
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
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
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

Revision as of 14:55, 22 September 2008

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 --prefix=/usr install

Multilib

32Bit

Compile the package:

USE_ARCH=32 python setup.py build

Install the package

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

N32

Compile the package:

USE_ARCH=n32 python setup.py build

Install the package

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

64Bit

Compile the package:

USE_ARCH=64 python setup.py build

Install the package

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

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=15358"