← 返回命令列表

Linux command

dh_numpy 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Add NumPy dependencies

dh_numpy

Process with verbose

dh_numpy -v

Process specific package

dh_numpy -p [package_name]

说明

dh_numpy is a debhelper addon for Debian packages that use NumPy. It automatically adds the correct NumPy ABI dependency to packages that contain compiled extensions linked against NumPy. NumPy extensions compiled against one version may not work with another due to ABI changes. dh_numpy examines installed extensions and adds appropriate numpy-abiN dependencies to ensure binary compatibility. This automation prevents the common problem of NumPy extensions breaking after NumPy upgrades due to missing or incorrect ABI dependencies.

参数

-v, --verbose
Verbose output.
-p _PACKAGE_, --package _PACKAGE_
Process specified package only.
-N _PACKAGE_
Exclude specified package.
-a, --arch
Process architecture-dependent packages.
-i, --indep
Process architecture-independent packages.

FAQ

What is the dh_numpy command used for?

dh_numpy is a debhelper addon for Debian packages that use NumPy. It automatically adds the correct NumPy ABI dependency to packages that contain compiled extensions linked against NumPy. NumPy extensions compiled against one version may not work with another due to ABI changes. dh_numpy examines installed extensions and adds appropriate numpy-abiN dependencies to ensure binary compatibility. This automation prevents the common problem of NumPy extensions breaking after NumPy upgrades due to missing or incorrect ABI dependencies.

How do I run a basic dh_numpy example?

Run `dh_numpy` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v, --verbose do in dh_numpy?

Verbose output.