[Python-Dev] Distutils2 scripts (original) (raw)
Toshio Kuratomi a.badger at gmail.com
Fri Oct 8 17:04:35 CEST 2010
- Previous message: [Python-Dev] Distutils2 scripts
- Next message: [Python-Dev] Distutils2 scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Oct 08, 2010 at 10:26:36AM -0400, Barry Warsaw wrote:
On Oct 08, 2010, at 03:22 PM, Tarek Ziadé wrote:
>Yes that what I was thinking about -- I am not too worried about this, >since every Linux deals with the 'more than one python installed' >case. Kind of. but anyway... >> I'm in favor of add a top-level setup module that can be invoked using >> "python -m setup ...". There will be three cases: > >Nice idea ! I wouldn't call it setup though, since it does many other >things. I can't think of a good name yet, but I'd like such a script >to express the idea that it can be used to: I like 'python -m setup' too. It's a small step from the familiar thing (python setup.py) to the new and shiny thing, without being confusing. And you won't have to worry about things like version numbers because the Python executable will already have that baked in. >- query pypi >- browse what's installed >- install/remove projects >- create releases and upload them > >pkgmanager ? No underscores, please. :) Actually, a decent wrapper script could just be called 'setup'. My command-not-found on Ubuntu doesn't find a collision, or even close similarities. Simple English names like this are almost never a good idea for commands. A quick google for "/usr/bin/setup" finds that Fedora-derived distros have a /usr/bin/setup as a wrapper for all the text-mode configuration tools. And there's a derivative of opensolaris that has a /usr/bin/setup for configuring the system the first time.
I still like 'egg' as a command too. There are no collisions that I can see. I know this has been thrown around for years, and it's always been rejected because I think setuptools wanted to claim it, but since it still doesn't exist afaict, distutils2 could easily use it. There's a 2D graphics library that provides a /usr/bin/egg command: http://www.ir.isas.jaxa.jp/~cyamauch/eggx_procall/ Latest Stable Version 0.93r3 (released 2010/4/14)
In the larger universe of programs, it might make for more intuitive remembering of the command to use a prefix (either py or python) though.
python-setup is a lot like python setup.py pysetup is shorter pyegg is even shorter :-)
-Toshio -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20101008/878ee92e/attachment.pgp>
- Previous message: [Python-Dev] Distutils2 scripts
- Next message: [Python-Dev] Distutils2 scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]