<div class="gmail_quote">On Thu, Apr 29, 2010 at 1:27 PM, P.J. Eby <span dir="ltr">&lt;<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

At 01:05 PM 4/29/2010 -0500, Jason Baker wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ve written a simple setuptools command that will read options from a setup.cfg.  The code is here: &lt;<a href="http://github.com/jasonbaker/rdopts/blob/master/rdopts.py" target="_blank">http://github.com/jasonbaker/rdopts/blob/master/rdopts.py</a>&gt;<a href="http://github.com/jasonbaker/rdopts/blob/master/rdopts.py" target="_blank">http://github.com/jasonbaker/rdopts/blob/master/rdopts.py</a><div class="im">

<br>
<br>
I&#39;d like to be able to use the output of this command to pass to other programs, but that is a bit difficult when distutils is writing &quot;running rdopts&quot; out every time I use it.  The solution I found is to just call distutils.log.set_threshold(ERROR) at import time, but that just feels like a recipe for something to go wrong.  Are there any better ways to do this?<br>


</div></blockquote>
<br>
python setup.py -q rdopts<br>
</blockquote></div><br>Ah, I see.  I was doing &quot;python setup.py rdopts -q&quot;.  Is there any way to make -q enabled by default?<br>