[Distutils] stdeb-0.3 error
Gerry Reno
greno at verizon.net
Wed Sep 23 17:43:24 CEST 2009
Andrew Straw wrote:
>
> I saw your patch, but that wasn't what I meant. Disabling
> --single-version-externally-managed has to be optional, and the argument
> must continue to be used by default. Simply removing the call will
> create a regression for namespace packages. Thus, the
> --single-version-externally-managed should only be removed when someone
> explicitly asks for it to be removed (because they presumably know what
> they're doing or are at least aware it may have negative consequences).
> Hence my suggestion to look at how the --ignore-install-requires works
> as an example of how to pass an option via the distuils infrastructure.
>
>
I'll look at --ignore-install-requires and send another patch.
> OK, based on your code I added a "bdist_deb" distutils command to stdeb.
> I've checked this into the old-stable branch and I'd appreciate it if
> you can check whether this works for you and send me any comments.
> Invoke it like this:
>
> python -c "import stdeb; excecfile('setup.py')" bdist_deb
>
See this was my point of why my 'bdist_deb' belonged as a distutils
patch and not in stdeb.
The inherited capabilities, behaviors and invocation style needs to
follow all the other 'bdist' command types.
And that means being able to invoke it the same as say 'bdist_rpm' like:
python setup.py bdist_deb
or
python setup.py bdist_deb --<std bdist type arg> ...
If we start allowing 'bdist' derivative commands to diverge in their
inherited capabilities, invocation style, and expected behaviors then
chaos will ensue.
Regards,
Gerry
More information about the Distutils-SIG
mailing list