Re: [Python-Dev] Distutils2 scripts

2010年10月08日 10:14:12 -0700

On Fri, Oct 8, 2010 at 9:22 AM, Tarek Ziadé <[email protected]> wrote:
> pkg_manager ?
1. Underscores are evil. Don't do that.
2. Mixed shortened + written-out names are just nasty.
> Mmm.. setup.py is gone in D2, and setup.py will be the marker of d1.
Did we finally decide it could be done without setup.py entirely, in
all cases? I guess I've been busy elsewhere lately.
> Some project might want to provide both setups for backward
> compatibility:
>
> - a setup.py (d1)
> - a setup,cfg (d2 and optionally some d1 options)
If a project requites setup.py for any reason, it can include the
compatibility it needs there, even if there is sometimes a need for d2
to use a setup.py:
 try:
 import distutils2
 except ImportError:
 import distutils.core
 distutils.core.setup(...)
 else:
 distutils2.core.setup()
Anyway, the pysetup name offered in tis thread works for me as well.
 -Fred
--
Fred L. Drake, Jr.  <fdrake at acm.org>
"A storm broke loose in my mind." --Albert Einstein
_______________________________________________
Python-Dev mailing list
[email protected]
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