[Python-Dev] Distutils2 scripts (original) (raw)
Giampaolo RodolĂ g.rodola at gmail.com
Tue Oct 12 01:11:24 CEST 2010
- Previous message: [Python-Dev] PyArg_ParseTuple
- Next message: [Python-Dev] Distutils2 scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Wouldn't be kinda weird that one can open the command prompt and run "pysetup" but not "python" on Windows? I recall an old issue on the bug tracker in which the latter proposal was widely discussed and finally rejected for reasons I can't remember (and it seems I can't even find the bug right now). I think it's likely that those same reasons are valid for "pysetup" in the same manner.
For the record, I would be more than happy to be able to open the command prompt and type "pysetup" and "python" with success, one day.
--- Giampaolo http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/
2010/10/12 Eric Smith <eric at trueblade.com>:
On 10/11/2010 5:17 PM, Giampaolo RodolĂ wrote:
2010/10/8 Eric Smith<eric at trueblade.com>:
On 10/8/10 10:26 AM, Barry Warsaw wrote:
In any case, these could be a simple shell script wrapping 'python -m setup'. It could even take a --use-python-version option to select the pythonX.Y it used, without having to encode the Python version number in the script name. On Windows it can't be a shell script or batch file, but needs to be an executable. setuptools already deals with this. If that's the case what would I type in the command prompt in order to install a module? "C:\PythonXX\pysetup.exe"? If so I would strongly miss old "setup.py install". Same thing you would type at a shell prompt. Presumably we're talking about "pysetup install" (which you'll note is one character shorter!). You could fully qualify the path if need be, on any platform, using its conventions. Eric.
- Previous message: [Python-Dev] PyArg_ParseTuple
- Next message: [Python-Dev] Distutils2 scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]