É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
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
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
É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
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