$npx skillfedfor your agent

stdeb

Python to Debian source package conversion utility

With conditionsPyPI Build ToolsReleased Sep 2025386.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — stdeb-0.11.0-py3-none-any.whl
v0.11.0 · released 2025-09-12

Yes—if you need to package Python applications for Debian/Ubuntu systems. stdeb eliminates manual debian/ directory creation and integrates cleanly into existing setuptools workflows. Install friction is minimal, maintenance is steady (recent commits, no known vulnerabilities), and the MIT license is unrestricted. The aging status reflects infrequent releases rather than abandonment; the tool is stable and fit for production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7+; minimum debhelper version 12 on the target Debian/Ubuntu system; distutils or setuptools in the Python environment.
  • Low friction—pure Python wheel with no runtime dependencies.
  • Maintenance is aging (336 days since last release), but the repository is active and recent (last commit 2025-09-12), suggesting occasional updates rather than abandonment.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution of stdeb itself or packages built with it.

last release 2025-09-12 (336 days) · last repo commit 2025-09-12 · 504 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 386,722 downloads/mo, #7,050 on PyPI

Verify before relying

pip install stdeb

python3 setup.py --command-packages=stdeb.command sdist_dsc
python3 setup.py --command-packages=stdeb.command bdist_deb
  • Whether stdeb can reliably generate Python 2 packages from Python 3 (described as 'not well tested' in the description).
  • Compatibility with modern Debian/Ubuntu releases beyond what the description explicitly lists.
  • Whether the pybuild-based build system (as of 0.11.0) introduces any breaking changes for existing workflows.
Same gist for agents: .md · .json

What it is and what it does

stdeb is a distutils/setuptools extension that automates the conversion of Python packages into Debian source packages (.dsc) and binary packages (.deb files). It provides new distutils commands—sdist_dsc, bdist_deb, install_deb, and debianize—that handle the boilerplate of Debian packaging, including control file generation, changelog creation, and dependency mapping. The package also includes standalone utilities (py2dsc, py2dsc-deb, pypi-download, pypi-install) for downloading packages from PyPI and building or installing them as .deb files.

The tool is designed for developers and system administrators who need to package Python applications for Debian-based systems. It supports building packages for Python 2, Python 3, or both from a single source, with customization options for Debian metadata, dependencies, and build flags. As of version 0.11.0, stdeb requires Python 3.7+ to run and uses debhelper 12+ with pybuild for the generated packages.

Use it for

  • Package a Python application for distribution on Debian/Ubuntu systems without manually writing debian/ directory structure.
  • Build .deb files from PyPI packages for internal deployment or repository hosting.
  • Automate Debian packaging in CI/CD pipelines to generate installable binaries from Python source.
  • Create both Python 2 and Python 3 variants of a package from a single codebase using the --with-python2/--with-python3 flags.
  • Customize Debian package metadata (dependencies, maintainer, homepage) via stdeb.cfg configuration file.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes—if you need to package Python applications for Debian/Ubuntu systems.

stdeb eliminates manual debian/ directory creation and integrates cleanly into existing setuptools workflows. Install friction is minimal, maintenance is steady (recent commits, no known vulnerabilities), and the MIT license is unrestricted. The aging status reflects infrequent releases rather than abandonment; the tool is stable and fit for production use.

Install

stdeb on PyPI

Before you install

Low friction—pure Python wheel with no runtime dependencies. Maintenance is aging (336 days since last release), but the repository is active and recent (last commit 2025-09-12), suggesting occasional updates rather than abandonment.

Requires Python 3.7+; minimum debhelper version 12 on the target Debian/Ubuntu system; distutils or setuptools in the Python environment.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution of stdeb itself or packages built with it.

Quickstart

pip install stdeb

python3 setup.py --command-packages=stdeb.command sdist_dsc
python3 setup.py --command-packages=stdeb.command bdist_deb

Verify before relying

  • Whether stdeb can reliably generate Python 2 packages from Python 3 (described as 'not well tested' in the description).
  • Compatibility with modern Debian/Ubuntu releases beyond what the description explicitly lists.
  • Whether the pybuild-based build system (as of 0.11.0) introduces any breaking changes for existing workflows.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 336 days since the last release
Last repo commit
First released
Downloads386,722 / month, #7,050 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: POSIX :: LinuxProgramming Language :: Python :: 2.7Programming Language :: Python :: 3

Evidence: stdeb-0.11.0-py3-none-any.whl

Tags

Capabilities
python to debian package conversionbuild deb files from python packagescreate debian packages from pypidistutils debian packagingpython package debianizationsdist_dsc bdist_debpy2dsc debian build tool
Topics
debian-packagingdistutils-extensiondeb-builder

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python to debian package conversion”

  • stdebConverts Python packages into Debian source and binary packages (.deb…
  • python-debianReads and manipulates Debian packaging metadata formats including…
  • debian-inspectorParses Debian package metadata, copyright files, and control files in…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also python-debian · deb-pkg-tools · debian-inspector · distribute · setuptools · pbs-installer · standard-distutils · verlib2 · pex · dlib-bin