[Distutils] [buildout] zc.recipe.egg interpretters don't support -m

Jim Fulton jim at zope.com
Tue Aug 25 12:00:01 CEST 2009

On Tue, Aug 25, 2009 at 4:25 AM, Chris Withers<chris at simplistix.co.uk> wrote:
> Jim Fulton wrote:
>> AFAIK, the standard interpreter command line arguments are implemented
>> at a low level and aren't meant to be reusable.  To make them work
>> basically requires reimplementing them.  It would be useful if there
>> was a module that just had implementations of (most of) the standard
>> interpreter options.
> Is this perhaps what's in the runpy module of the standard library?


> http://docs.python.org/library/runpy.html#module-runpy
> Hmmm, maybe it does just the right thing for -m?


> In any case, any objections to me implementing this for buildout scripts?

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.


Jim Fulton

More information about the Distutils-SIG mailing list