classification
Title: Set PATHEXT in the Windows installer
Type: enhancement Stage: patch review
Components: Installation, Windows Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, pmoore, python-dev
Priority: normal Keywords: needs review, patch

Created on 2013-07-27 08:07 by pmoore, last changed 2013-08-01 16:32 by loewis. This issue is now closed.

Files
File name Uploaded Description Edit
pathext.patch pmoore, 2013-07-27 08:07
Messages (3)
msg193781 - (view) Author: Paul Moore (pmoore) * Date: 2013-07-27 08:07
Make the Windows Python installer set PATHEXT when "Register Python extensions" is set. This allows users to run a scripy by typing the name of the .py file at the command line without the .py extension.

The patch needs review - I have not been able to build the MSI installer and so this patch is untested :-(
msg194084 - (view) Author: Roundup Robot (python-dev) Date: 2013-08-01 16:31
New changeset 2a38e4da6ce8 by Martin v. Löwis in branch 'default':
Issue #18569: The installer now adds .py to the PATHEXT variable
http://hg.python.org/cpython/rev/2a38e4da6ce8
msg194085 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2013-08-01 16:32
Thanks for the patch. It works fine (with the expected limitation that you need to restart running shells for this to take effect).
History
Date User Action Args
2013-08-01 16:32:43loewissetstatus: open -> closed
resolution: fixed
messages: + msg194085
2013-08-01 16:31:29python-devsetnosy: + python-dev
messages: + msg194084
2013-07-27 08:07:43pmoorecreate