Jim Fulton wrote:
On Wed, Aug 26, 2009 at 2:12 PM, Chris Withers<[email protected]> wrote:
Jim Fulton wrote:
http://docs.python.org/library/runpy.html#module-runpy
Hmmm, maybe it does just the right thing for -m?
Perhaps.
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.
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 script.
cheers,
Chris
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig