Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set PATHEXT in the Windows installer #62769

Closed
pfmoore opened this issue Jul 27, 2013 · 3 comments
Closed

Set PATHEXT in the Windows installer #62769

pfmoore opened this issue Jul 27, 2013 · 3 comments
Assignees
Labels
OS-windows topic-installation type-feature A feature request or enhancement

Comments

@pfmoore
Copy link
Member

pfmoore commented Jul 27, 2013

BPO 18569
Nosy @loewis, @pfmoore
Files
  • pathext.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/loewis'
    closed_at = <Date 2013-08-01.16:32:43.099>
    created_at = <Date 2013-07-27.08:07:43.790>
    labels = ['type-feature', 'expert-installation', 'OS-windows']
    title = 'Set PATHEXT in the Windows installer'
    updated_at = <Date 2013-08-01.16:32:43.098>
    user = 'https://github.com/pfmoore'

    bugs.python.org fields:

    activity = <Date 2013-08-01.16:32:43.098>
    actor = 'loewis'
    assignee = 'loewis'
    closed = True
    closed_date = <Date 2013-08-01.16:32:43.099>
    closer = 'loewis'
    components = ['Installation', 'Windows']
    creation = <Date 2013-07-27.08:07:43.790>
    creator = 'paul.moore'
    dependencies = []
    files = ['31051']
    hgrepos = []
    issue_num = 18569
    keywords = ['patch', 'needs review']
    message_count = 3.0
    messages = ['193781', '194084', '194085']
    nosy_count = 3.0
    nosy_names = ['loewis', 'paul.moore', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue18569'
    versions = ['Python 3.4']

    @pfmoore
    Copy link
    Member Author

    pfmoore commented Jul 27, 2013

    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 :-(

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Aug 1, 2013

    New changeset 2a38e4da6ce8 by Martin v. Löwis in branch 'default':
    Issue bpo-18569: The installer now adds .py to the PATHEXT variable
    http://hg.python.org/cpython/rev/2a38e4da6ce8

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Aug 1, 2013

    Thanks for the patch. It works fine (with the expected limitation that you need to restart running shells for this to take effect).

    @loewis loewis mannequin closed this as completed Aug 1, 2013
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    OS-windows topic-installation type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant