How do I do Debian packaging of a Python package?

后端 未结 5 1189
無奈伤痛
無奈伤痛 2020-11-29 17:59

I need to write, or find, a script to create a Debian package, using package python-support, from a Python package. The Python package will be pure Python without C extensio

5条回答
  •  清歌不尽
    2020-11-29 18:56

    I think you want http://pypi.python.org/pypi/stdeb:

    stdeb 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.

提交回复
热议问题