py2dsc-deb1
Dpkg-buildpackage wrapper that integrates with py2dsc and build binary package
Overview
usage: py2dsc-deb [options] distfile
-
or: py2dsc-deb
--help
where distfile is a .zip or .tar.gz file built with the sdist command of distutils.
Options
-
--dist-dir (-d) -
directory to put final built distributions in (default='deb_dist')
-
--patch-already-applied (-a) -
patch was already applied (used when py2dsc calls sdist_dsc)
-
--default-distribution -
deprecated (see
--suite)
-
--suite (-z) -
distribution name to use if not specified in .cfg (default='unstable')
-
--default-maintainer -
deprecated (see
--maintainer)
-
--maintainer (-m) -
maintainer name and email to use if not specified in .cfg (default from setup.py)
-
--debian-version -
debian version (Default: 1)
-
--extra-cfg-file (-x) -
additional .cfg file (in addition to stdeb.cfg if present)
-
--patch-file (-p) -
patch file applied before setup.py called (incompatible with file specified in .cfg)
-
--patch-level (-l) -
patch file applied before setup.py called (incompatible with file specified in .cfg)
-
--patch-posix (-q) -
apply the patch with
--posixmode
-
--remove-expanded-source-dir (-r) -
remove the expanded source directory
-
--ignore-install-requires (-i) -
ignore the requirements from requires.txt in the egg-info directory
-
--pycentral-backwards-compatibility -
This option has no effect, is here for backwards compatibility, and may be removed someday.
-
--workaround-548392 -
This option has no effect, is here for backwards compatibility, and may be removed someday.
-
--no-backwards-compatibility -
This option has no effect, is here for backwards compatibility, and may be removed someday.
-
--guess-conflicts-provides-replaces -
If True, attempt to guess Conflicts/Provides/Replaces in debian/control based on apt-cache output. (Default=False).
-
--with-python2 -
If True, build package for python 2. (Default=False).
-
--with-python3 -
If True, build package for python 3. (Default=True).
-
--no-python2-scripts -
If True, do not install scripts for python 2. (Default=False).
-
--no-python3-scripts -
If True, do not install scripts for python 3. (Default=False).
-
--force-x-python3-version -
Override default minimum python3:any dependency with value from x-python3- version
-
--allow-virtualenv-install-location -
Allow installing into /some/random/virtualenv-path
-
--compat (-c) -
Debian compatibility level (Default=9)
-
--with-dh-virtualenv -
Use dh_virtualenv to build the package instead of python_distutils. This is useful to embed an application with all its dependencies and dont touch to the system libraries.
-
--with-dh-systemd -
Adds the systemd addon that will dh_systemd_enable anddh_systemd_start helpers at the correct time during build.
-
--sign-results -
Use gpg to sign the resulting .dsc and .changes file
-
--ignore-source-changes -
Ignore all changes on source when building source package (add
-i.* option to dpkg-source)
Releases
6 releases since Debian 8 (Jessie); the text changed 4 times.
--allow-virtualenv-install-location since Debian 9 (Stretch);
--compat since Debian 11 (Bullseye);
--debian-version since Debian 11 (Bullseye);
--force-x-python3-version since Debian 9 (Stretch);
--ignore-source-changes since Debian 11 (Bullseye);
--sign-results since Debian 11 (Bullseye);
--with-dh-systemd since Debian 11 (Bullseye);
--with-dh-virtualenv since Debian 11 (Bullseye).