[Distutils] [buildout] zc.recipe.egg interpretters don't support -m
gary.poster at canonical.com
Mon Aug 31 14:30:54 CEST 2009
On Aug 31, 2009, at 7:52 AM, Chris Withers wrote:
> Jim Fulton wrote:
>> On Wed, Aug 26, 2009 at 2:12 PM, Chris
>> Withers<chris at simplistix.co.uk> wrote:
>>> Jim Fulton wrote:
>>>>> Hmmm, maybe it does just the right thing for -m?
>>>>> In any case, any objections to me implementing this for buildout
>>>> No, but I want to review it before you merge it to trunk.
>>>>> If not, where is the actual code that generates the scripts?
>>>> In the easy_install meodule.
>>> Okay, I'll add it to my to-do list...
>>> ...don't worry, no risk of it getting to the top anytime soon ;-)
>> I went ahead and implemented this in 1.4.1.
> Exellent, thanks :-)
> ...although I think there may still be some rough edges:
> bin/py -m somemodule --some --options
> ...will throw an exception as the code in py tries to consume all
> the parameters.
> "real" python only consumes the -m and passed the rest on to the
The same is true for -c, which we've had for awhile and has the same
rough edge. (I changed that in a hacky way for my branch for -c, and
now for -m. I'll be trying to change that to use optparse very soon,
though someone may beat me to it.)
More information about the Distutils-SIG