[Distutils] stdeb-0.3 error

Andrew Straw strawman at astraw.com
Sun Sep 20 19:02:24 CEST 2009


Gerry Reno wrote:
> In my setup.py I have my own "install":
>
> from distutils.command.install import install
> ...
> class myinstall(install):
> ...
>
> and when we call dpkg-buildpackage this local "install" seems to maybe
> be causing the problem with the error: option
> --single-version-externally-managed not recognized.
>
> How can we make this option be recognized? Do we need to inherit
> something from setuptools?
I think there are 2 options:

1) upgrade to the nascent stdeb 0.4. It doesn't call setup.py with the
--single-version-externally-managed argument.

2) inherit from setuptools' install command.

I would suggest option 1. If you need me to make a release, I'm happy to
do so -- but maybe that will be better after it has bdist_deb? :)

-Andrew


More information about the Distutils-SIG mailing list