[Python-Dev] Distutils2 scripts

Georg Brandl g.brandl at gmx.net
Fri Oct 8 14:20:50 CEST 2010


Am 08.10.2010 14:02, schrieb Fred Drake:

> Georg:
>> What happened to "python setup.py action"?  Or is this a step towards
>> not requiring setup.py at all?
> 
> I'm in favor of add a top-level setup module that can be invoked using
> "python -m setup ...".  There will be three cases:
> 
> - d2 projects without a setup.py, where this will invoke the module from
>   the standard library,
> 
> - d2 projects with a setup.py, where the local setup.py will be invoked,
>   and
> 
> - d1 projects, which always have a setup.py, which will be invoked.
> 
> This would provide the most consistent story for package users, where the
> only command they'll need to remember (for Python versions with the setup
> module) will be
> 
>     python -m setup ...

That's actually a very nice trick, *probably* together for a "shortcut" for
"python -m setup".

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.



More information about the Python-Dev mailing list