File: Scientific_numerics_package_id.pyx

package info (click to toggle)
python-scientific 2.8-1.2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 6,456 kB
  • ctags: 7,038
  • sloc: python: 16,436; ansic: 4,379; makefile: 135; sh: 18; csh: 1
file content (12 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# This module contains nothing but the name of the numerics package
# (Numeric, NumPy, Numarray) that was used to compile the C extensions
#
# Written by Konrad Hinsen
# last revision: 2007-4-17
#

cdef extern from 'Scientific/arrayobject.h':
    char *NUMERICS_PACKAGE

def getNumericsPackageName():
    return NUMERICS_PACKAGE