File: README.multiarch

package info (click to toggle)
numpy 1%3A2.2.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 83,420 kB
  • sloc: python: 248,499; asm: 232,365; ansic: 216,874; cpp: 135,657; f90: 1,540; sh: 938; fortran: 558; makefile: 409; sed: 139; xml: 109; java: 92; perl: 79; cs: 54; javascript: 53; objc: 29; lex: 13; yacc: 9
file content (24 lines) | stat: -rw-r--r-- 902 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
The Debian release of NumPy 2 and later comes with improved Multi-Arch support
for binary Python extensions:


 1. `pkg-config numpy --cflags` works out of the box. There is no need to
    set PKG_CONFIG_PATH as documented in the reference manual.

    If you want to remain compatible with other distributions, we recommend
    overriding PKG_CONFIG_PATH only if necessary, e.g.,

    : "${PKG_CONFIG:=pkg-config}"
    if ! $PKG_CONFIG --exists numpy; then
        export PKG_CONFIG_PATH=$(numpy-config --pkgconfigdir)
    fi


 2. numpy-config and `numpy.get_include()` query the MULTIARCH configuration
    variable from the sysconfig module. For cross builds, set the
    _PYTHON_SYSCONFIGDATA_NAME environment variable, e.g.

    export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH}


 -- Timo Röhling <roehling@debian.org>  Mon, 16 Sep 2024 22:53:54 +0200