1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #109 resolved

stdeb - Python to Debian source package conversion utility

Markus Gattol
created an issue

Currently one cannot create Debian packages (.debs) directly from Python source.

{{{ (testenv)sa@wks:~/0/1/testenv/src/mypackage$ python setup.py bdist --help-formats List of available distribution formats: --formats=rpm RPM distribution --formats=gztar gzip'ed tar file --formats=bztar bzip2'ed tar file --formats=ztar compressed tar file --formats=tar tar file --formats=wininst Windows executable installer --formats=zip ZIP file --formats=egg Python .egg file (testenv)sa@wks:~/0/1/testenv/src/mypackage$ }}}

Howerver, on Debian there already exists a package (python-stdeb) allowing to do just that. Its code can be found at http://github.com/astraw/stdeb

I would love to see distribute support creating .debs from Python source just as it is possible to create .rpms already {{{ python setup.py bdist_rpm }}}

Comments (4)

  1. Éric Araujo

    Active development of distribute is now stalled, with efforts moved to distutils2 (see http://tarekziade.wordpress.com/2010/03/03/the-fate-of-distutils-pycon-summit-packaging-sprint-detailed-report/).

    There has been a bit of discussion about stdeb since last year, and the trend is definitely to let it live as a third-party project that can be updated and released faster that distutils2/Python and comply with the policy of the OS it’s installed on. The other specific bdist command has been removed from distutils2 and now lives as the independent bdist_rpm2 command.

    Therefore closing.

  2. Log in to comment