LinuxCommandLibrary

pybuild

TLDR

Build Python package

$ pybuild --build
copy
Install to directory
$ pybuild --install --dest-dir [dir]
copy
Clean build
$ pybuild --clean
copy
Build with specific Python
$ pybuild --interpreter python3
copy

SYNOPSIS

pybuild [options]

DESCRIPTION

pybuild builds Python packages for Debian. Packaging helper.
The tool wraps build systems. Part of dh-python.
pybuild builds Python packages.

PARAMETERS

--build

Build the package.
--install
Install the package.
--clean
Clean build files.
--dest-dir DIR
Installation directory.
--interpreter PYTHON
Python interpreter.
-s SYSTEM
Build system.

CAVEATS

Debian packaging tool. Part of dh-python.

HISTORY

pybuild is part of dh-python for Debian Python packaging.

SEE ALSO

dh(1), debhelper(7), python(1)

Copied to clipboard