[Distutils] Installing stdeb on vanilla Ubuntu

Olof Bjarnason olof.bjarnason at gmail.com
Sun Sep 27 21:18:06 CEST 2009

2009/9/27 Andrew Straw <strawman at astraw.com>:
> Olof Bjarnason wrote:
>> Hi distutils!
>> So I'm quite sure stdeb is the tool for "py2deb" I'm looking for.
>> What are the "correct" steps of installing this tool, assuming
>> Ubuntu9.04. I guess I need this:
>> 1. Python (check)
>> 2. distutils (check)
>> 3. setuptools (dunno? how do I install?)
>> 4. stdeb (how do I install correctly?)
>> As all of you know by now, I'm fairly new to distutils, PyPI, eggs,
>> cheesecake, setuptools and stdeb. It's a whole new universe! :)
> Hi Olof,
> For ubuntu 9.04, you will need stdeb 0.4 (the current git master
> branch), which isn't released yet. I consider
> http://github.com/astraw/stdeb/issues/#issue/10 to be blocking the
> release of 0.4.
> Stay tuned... with luck I'll find a workaround today. But I'm interested
> in seeing the resolution to the debhelper bug (Debian bug #548392) so I
> can account for that, too.

Gerry/Andrew - thanks for help.

At least I got past installing setuptools/easy_install.

I guess easy_install/PyPI/setuptools is a pythonic way of getting past
all package managers in the world ;)

Anyway Andrew, I thought you'd be interested in the output from my
"easy_install stdeb":


olof at olof-work:~/prj/fortressdefender$ sudo easy_install -n stdeb
Searching for stdeb
Reading http://pypi.python.org/simple/stdeb/
Reading http://stdeb.python-hosting.com/
Reading http://github.com/astraw/stdeb
Best match: stdeb 0.3
Downloading http://pypi.python.org/packages/source/s/stdeb/stdeb-0.3.tar.gz#md5=e692f745597dcdd9343ce133e3b910d0
Processing stdeb-0.3.tar.gz
Running stdeb-0.3/setup.py -n -q bdist_egg --dist-dir
/usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown
distribution option: 'zip_ok'
warning: install_lib: 'build/lib.linux-i686-2.6' does not exist -- no
Python modules to install
zip_safe flag not set; analyzing archive contents...

> -Andrew


More information about the Distutils-SIG mailing list