Options (2)
-r, --requirementbooleanBuild wheels for packages in requirements file
Example:
pip wheel {{[-r|--requirement]}} {{path/to/requirements.txt}}-w, --wheel-dirbooleanBuild wheel to a specific directory
Example:
pip wheel {{package}} {{[-w|--wheel-dir]}} {{path/to/directory}}Examples (6)
Build a wheel for a package
pip wheel packageBuild wheels for packages in requirements file
pip wheel [-r|--requirement] path/to/requirements.txtBuild wheel to a specific directory
pip wheel package [-w|--wheel-dir] path/to/directoryBuild wheel without dependencies
pip wheel package --no-depsBuild wheel from local project
pip wheel path/to/projectBuild wheel from Git repository
pip wheel git+https://github.com/user/repo.gitmade by @shridhargupta | data from tldr-pages