py2dsc

Python to Debian source package conversion utility

Install

All systems
curl cmd.cat/py2dsc.sh
Debian Debian
apt-get install python-stdeb
Ubuntu
apt-get install python-stdeb
image/svg+xml Kali Linux
apt-get install python-stdeb
Windows (WSL2)
sudo apt-get update sudo apt-get install python-stdeb
Raspbian
apt-get install python-stdeb

python-stdeb

Python to Debian source package conversion utility

This package provides some tools to produce Debian packages from Python packages via a new distutils command, sdist_dsc. Automatic defaults are provided for the Debian package, but many aspects of the resulting package can be customized via a configuration file. * pypi-install will query the Python Package Index (PyPI) for a package, download it, create a .deb from it, and then install the .deb. * py2dsc will convert a distutils-built source tarball into a Debian source package. * py2dsc-deb is like py2dsc, but will additionally build binary package * pypi-download will download upstream tarball from PyPI