[Distutils] stdeb vs dependencies?

Andrew Straw strawman at astraw.com
Wed Feb 3 01:19:49 CET 2010

K. Richard Pixley wrote:
> What is the expected work flow around package dependencies between
> python packages and debs in stdeb?
> I was expecting it to declare any deb dependencies found, then
> translate any python dependencies into the names they would have if
> those pypi packages were translated using stdeb.  
It will attempt to translate any dependencies specified with
setuptools/distribute's install_requires kwarg to setup(). This can be
disabled with --ignore-install-requires. Otherwise, create an stdeb.cfg
file (or a [stdeb] section in setup.cfg) that has a "Depends:" line for
the Debian package names you want.
> What I'm seeing with stdeb-0.5.1 is that no dependencies are declared
> at all, but instead, I'm seeing unresolved macro references to
> ${python:Depends}.
What exactly is the error? Can you post the traceback or other error?
python-support should resolve this reference at .deb build time.


More information about the Distutils-SIG mailing list