Am 08.10.2010 09:05, schrieb Tarek Ziadé:
> Hello,
> 
> In the Distutils2 project, we'll have quite a few scripts that can be
> called via -m
> 
> $ python -m distutils2.depgraph : shows a dependency graph
> $ python -m distutils2.install : installs a project
> $ python -m distutils2.run command : runs a distutils2 command
> 
> etc..

What happened to "python setup.py action"?  Or is this a step towards
not requiring setup.py at all?

> The feedback I received for this is pretty clear: people want a single
> script that can be called directly. e.g.
> 
> $ distutils2 depgraph
> $ distutils2 install
> $ distutils2 run command
> 
> Fair enough, I can add that script in the project and get it installed
> when people install the project.
> 
> I just wanted to make sure that once distutils2 is back in the stdlib,
> it's OK for us to add that script in the distribution.
> I remember that people did not want "yet another script" in there, so
> I just wanted to double-check before I take this path

This is certainly preferable to memorizing the modules you can call with
-m, because it's easier to provide help functions.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to