← 返回命令列表

Linux command

pip-wheel 命令

网络

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

常用示例

Build wheel from package

pip wheel [package]

Build wheels to directory

pip wheel -w [wheeldir] [package]

Build from requirements file

pip wheel -r requirements.txt

Build wheel from local project

pip wheel .

说明

pip wheel builds wheel archives for packages and dependencies. Wheels are pre-built binary distributions that install faster than source distributions. Useful for creating local wheels for offline installation or deployment.

参数

-w, --wheel-dir _dir_
Build wheels to directory.
-r, --requirement _file_
Build from requirements file.
--no-deps
Don't build dependencies.
--no-build-isolation
Disable build isolation.
--src _dir_
Source directory for editable projects.

FAQ

What is the pip-wheel command used for?

pip wheel builds wheel archives for packages and dependencies. Wheels are pre-built binary distributions that install faster than source distributions. Useful for creating local wheels for offline installation or deployment.

How do I run a basic pip-wheel example?

Run `pip wheel [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -w, --wheel-dir _dir_ do in pip-wheel?

Build wheels to directory.