[issue14027] distutils2 lack of pysetup.bat

2012-02-19 Thread Éric Araujo
Éric Araujo added the comment: [Paul] > %~dp0\..\python.exe locates python relative to the batch file (one directory > up) so will work as long > as the bat file is in Scripts. The @ just suppresses echo of the command. Okay, so a pysetup.bat script installed by pythonX.Y.exe will be put in th

[issue14027] distutils2 lack of pysetup.bat

2012-02-18 Thread Vinay Sajip
Vinay Sajip added the comment: Also, we normally set ".py", and ".pyw" into the PATHEXT environment variable, so that a script "pysetup.py" can be invoked from the command-line as just "pysetup" without the suffix. This gives the same experience as using a "pysetup.bat". I would say that pys

[issue14027] distutils2 lack of pysetup.bat

2012-02-18 Thread Paul Moore
Paul Moore added the comment: > - Will “@%~dp0\..\python.exe” get the proper path for people who do not > install Python to C:\? %~dp0\..\python.exe locates python relative to the batch file (one directory up) so will work as long as the bat file is in Scripts. The @ just suppresses echo of th

[issue14027] distutils2 lack of pysetup.bat

2012-02-17 Thread Éric Araujo
Éric Araujo added the comment: Hi, and thanks for your interest in improving distutils2. I am not a Windows user, much less developer, so I have many questions about your proposed pysetup.bat: - Will “@%~dp0\..\python.exe” get the proper path for people who do not install Python to C:\? - Are

[issue14027] distutils2 lack of pysetup.bat

2012-02-15 Thread 勇刚 罗
New submission from 勇刚 罗 : Patch attaced. -- assignee: tarek components: Distutils2 files: pysetup.bat messages: 153460 nosy: alexis, eric.araujo, tarek, 勇刚.罗 priority: normal severity: normal status: open title: distutils2 lack of pysetup.bat versions: Python 2.6, Python 2.7, Python 3.1