[Distutils] bdist_deb in stdeb

Gerry Reno greno at verizon.net
Mon Sep 28 18:06:01 CEST 2009


Andrew Straw wrote:
> Gerry Reno wrote:
>   
>> Andrew Straw wrote:
>>     
>>> Gerry Reno wrote:
>>>  
>>>       
>>>> Andrew Straw wrote:
>>>>    
>>>>         
>>>>> Gerry Reno wrote:
>>>>>  
>>>>>      
>>>>>           
>>>>>> Then I'm ok then with having 'bdist_deb' be the name and using the
>>>>>> plugin approach.
>>>>>>
>>>>>> Andrew, what do you think about this solution?
>>>>>>             
>>>>>>             
>>>>> It's already committed as of a couple days ago in the "old-stable"
>>>>> branch and I just merged it into the master branch.
>>>>>
>>>>> I'll release 0.3.1 (from the old-stable branch) and 0.4 (from the
>>>>> master
>>>>> branch) with this soon.
>>>>>
>>>>> -Andrew
>>>>>         
>>>>>           
>>>> In reviewing the gerry-reno git branch and the old-stable branch I
>>>> don't see where there are any user-options declared in
>>>> stdeb/command/bdist_deb.py.  Shouldn't the same user-options be there
>>>> as are in sdist_dsc.py?  The 'bdist_deb' command usefulness would be
>>>> very limited without the ability to pass options to it and hence to
>>>> 'sdist_dsc'.
>>>>     
>>>>         
>>> What options do you want to pass to it? bdist_deb does very little other
>>> than call dpkg-buildpackage on the result of sdist_dsc.
>>>
>>> As far as how -- that's standard distutils. You should be able to follow
>>> the lead from the sdist_dsc command, for example.
>>>
>>>   
>>>       
>> Well, for starters, we need to be able to pass  the option
>> '--ignore-single-version-externally-managed' and beyond that we need
>> to pass other options down to sdist_dsc, things like
>> '--ignore-install-requires'.
>>     
> Just pass the arguments directly to sdist_dsc. It should be something
> like this:
>
> python setup.py sdist_dsc --ignore-single-version-externally-managed
> --ignore-install-requires bdist_deb
>   
How's that going to work?  You have 'sdist_dsc' on the command line as 
well as 'bdist_deb'.   'bdist_deb' also calls 'sdist_dsc' internally but 
this time it would be without any arguments?  How can that work?

Regards,
Gerry



More information about the Distutils-SIG mailing list