[Python-Dev] Distutils2 scripts

Dirkjan Ochtman dirkjan at ochtman.nl
Fri Oct 8 14:15:39 CEST 2010

2010/10/8 Fred Drake <fdrake at acm.org>:
> 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 seems like a fairly elegant solution.



More information about the Python-Dev mailing list