PY2DSC-DEB(1)
πΈ PY2DSC-DEB π
okay bestie, listen up, because py2dsc-deb is a whole vibe and you're gonna be obsessed.
β¨ NAME β¨
py2dsc-deb β a dpkg-buildpackage wrapper that integrates with py2dsc and builds a binary package π
π¦ DESCRIPTION π¦
so here's the tea, fr fr. the usage is literally this:
usage: py2dsc-deb [options] distfile
or, if you just need the girlies to explain themselves:
py2dsc-deb --help
and distfile? that's a .zip or .tar.gz file built with the sdist command of distutils. that's it. that's the whole input. slay. β¨
π OPTIONS π
like, every single one. no skips. no skimming. we don't do that here. π«Ά
--dist-dir(-d) β directory to put final built distributions in (default='deb_dist')--patch-already-applied(-a) β patch was already applied (used whenpy2dsccallssdist_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 fromsetup.py)--debian-versionβ debian version (Default: 1)--extra-cfg-file(-x) β additional.cfgfile (in addition tostdeb.cfgif present)--patch-file(-p) β patch file applied beforesetup.pycalled (incompatible with file specified in.cfg)--patch-level(-l) β patch file applied beforesetup.pycalled (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 fromrequires.txtin 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 indebian/controlbased onapt-cacheoutput. (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 minimumpython3:anydependency with value fromx-python3-version--allow-virtualenv-install-locationβ Allow installing into/some/random/virtualenv-path--compat(-c) β Debian compatibility level (Default=9)--with-dh-virtualenvβ Usedh_virtualenvto build the package instead ofpython_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 willdh_systemd_enableanddh_systemd_starthelpers at the correct time during build.--sign-resultsβ Use gpg to sign the resulting.dscand.changesfile--sign-keyβ Specify signing key--ignore-source-changesβ Ignore all changes on source when building source package (add-i.*option todpkg-source)
quick note bestie: a few of these are deprecated and a few are literally doing nothing β they're just chillin' for backwards compatibility and could get yeeted someday. also--patch-fileand--patch-levelare incompatible with a file specified in.cfg. read the fine print, i'm begging. π
π the sign-off π
this was py2dsc-deb 0.10.2, dated August 2025. iconic. timeless. ate and left no crumbs. mwah π β¨π
π¦ where this page comes from
- ubuntu resolute: python3-stdeb 0.10.2-1 Β· MIT
- ubuntu stonking: python3-stdeb 0.10.2-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms