[Python-Dev] Distutils2 scripts (original) (raw)

Eric Smith eric at trueblade.com
Tue Oct 12 00:27:58 CEST 2010


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.



More information about the Python-Dev mailing list