Packaging in your packaging: dh-virtualenv
Oct 1, 2013Jyrki Pulliainen

Summary
This post introduces dh-virtualenv, a new tool that integrates Python virtual environments into the Debian packaging system. It explains the challenges of deploying Python applications in Debian stable due to outdated packages and the complexity of Debian packaging. The post details how dh-virtualenv works by registering with debhelper and bundling requirements.txt into a virtualenv within the Debian package. It also provides a detailed example of using dh-virtualenv to package the Sentry event logging platform, showcasing how to manage both native and Python dependencies and configure custom PyPI indexes.