16,602
edits
Changes
Debian
,→For version 4.0 and newer
= For version 4.0 and newer =
* Look at [https://github.com/astraw/stdeb stdeb], which produces Debian source 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 (see the customizing section, below). An additional command, bdist_deb, creates a Debian binary package, a .deb file. The debianize command builds a debian/ directory directly alongside your setup.py.
sudo apt-get install python-stdeb ==Sample of codeBuild== * command line (quick) python setup.py --command-packages=stdeb.command bdist_deb * distutils
import os